User Tools

Site Tools


uphp:functions:sizeof

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
uphp:functions:sizeof [2017/04/10 13:56]
jeff
uphp:functions:sizeof [2021/09/13 05:57] (current)
Line 7: Line 7:
 ====Description==== ====Description====
  
-<well size="sm"> +<well size="sm"><html>
-<html>+
 <span style="font-size:125%;color:green">int <span style="font-size:125%;color:green">int
-<span style="color:black"> +<span style="color:black">sizeof (
-</html> +
-[[sizeof]] ( +
-<html>+
 <span style="color:green">array <span style="color:green">array
 <span style="color:blue">$array <span style="color:blue">$array
 <span style="color:black">) <span style="color:black">)
-</html> +</html></well>
-</well>+
  
 ====Parameter==== ====Parameter====
  
-<html><b><span style="color:blue">$array<span style="color:black"></b></html>:  Any <html><b><span style="color:green">array<span style="color:black"></b></html> object+<html><b><span style="color:blue">$array<span style="color:black"></b>:  Any <b><span style="color:green">array<span style="color:black"></b> object</html>
  
-====Return Value====+====Return Values====
  
-<html><b><span style="color:green">Integer<span style="color:black"></b></html> number of elements in the <html><b><span style="color:green">array<span style="color:black"></b></html>+<html><b><span style="color:green">Integer<span style="color:black"></b> number of elements in the <b><span style="color:green">array<span style="color:black"></b></html>
  
 ====Examples==== ====Examples====
Line 79: Line 74:
 [[array_keys()]] - Return keys for an <html><b><span style="color:green">array<span style="color:black"></b></html> that has key/value pairs [[array_keys()]] - Return keys for an <html><b><span style="color:green">array<span style="color:black"></b></html> that has key/value pairs
  
-[[explode()]] - Turn a <html><b><span style="color:green">string<span style="color:black"></b></html> into an <html><b><span style="color:green">array<span style="color:black"></b></html>+[[explode()]] - <html>Turn a <b><span style="color:green">string<span style="color:black"></b> into an <b><span style="color:green">array<span style="color:black"></b></html>
  
-[[implode()]] - Turn an <html><b><span style="color:green">array<span style="color:black"></b></html> into a <html><b><span style="color:green">string<span style="color:black"></b></html>+[[implode()]] - <html>Turn an <b><span style="color:green">array<span style="color:black"></b> into a <b><span style="color:green">string<span style="color:black"></b></html>
  
 [[indexed_array()]] - Create an <html><b><span style="color:green">array<span style="color:black"></b></html> of a specific type and size [[indexed_array()]] - Create an <html><b><span style="color:green">array<span style="color:black"></b></html> of a specific type and size
Line 87: Line 82:
 [[is_array()]] - Check if a variable is an <html><b><span style="color:green">array<span style="color:black"></b></html> [[is_array()]] - Check if a variable is an <html><b><span style="color:green">array<span style="color:black"></b></html>
  
-[[json_encode()]] - JSON encode an <html><b><span style="color:green">array<span style="color:black"></b></html> into a <html><b><span style="color:green">string<span style="color:black"></b></html>, with optional method+[[json_encode()]] - <html>JSON encode an <b><span style="color:green">array<span style="color:black"></b> into a <b><span style="color:green">string<span style="color:black"></b>, with optional method</html>
  
 [[print_r()]] - Dump the contents of an <html><b><span style="color:green">array<span style="color:black"></b></html> to the current output [[print_r()]] - Dump the contents of an <html><b><span style="color:green">array<span style="color:black"></b></html> to the current output
uphp/functions/sizeof.1491832586.txt.gz · Last modified: 2021/09/13 05:56 (external edit)