User Tools

Site Tools


uphp:functions:array_keys

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:array_keys [2017/03/28 17:33]
jeff
uphp:functions:array_keys [2021/09/13 05:57] (current)
Line 1: Line 1:
 ======array_keys====== ======array_keys======
 +
 <badge>WMPRO, WMMINI FW >= 1.0</badge> <badge>WMMEGA FW >= 2.0</badge> <badge>WMPRO, WMMINI FW >= 1.0</badge> <badge>WMMEGA FW >= 2.0</badge>
  
-Return keys for an array that has key/value pairs+Return keys for an <html><b><span style="color:green">array<span style="color:black"></b></html> that has key/value pairs
  
 ====Description==== ====Description====
-<well size="sm"><html><span style="font-size:125%;color:green;">array + 
-<span style="color:black;"></html>[[array_keys]] +<well size="sm"><html> 
-<html>+<span style="font-size:125%;color:green">array 
-<span style="color:green;">array +<span style="color:black">array_keys ( 
-<span style="color:blue;">$array +<span style="color:green">array 
-<span style="color:black;">)+<span style="color:blue">$array 
 +<span style="color:black">)
 </html></well> </html></well>
  
-Return an array object+Return an <html><b><span style="color:green">array<span style="color:black"></b></html> object
  
 ====Parameter==== ====Parameter====
-An <html><span style="color:blue;"><b>array</b><span style="color:black;"></html> with key/value pairs 
  
-====Return Value==== +<html><b><span style="color:blue">$array<span style="color:black"></b>: An <b><span style="color:green">array<span style="color:black"></b> with key/value pairs</html> 
-An array of keys+ 
 +====Return Values==== 
 + 
 +An <html><b><span style="color:green">array<span style="color:black"></b></html> of keys
  
 ====Example==== ====Example====
 +
 <code php> <code php>
 <pre><? <pre><?
Line 43: Line 48:
  
 ====See Also==== ====See Also====
-[[array()]] - Create an array, with optional values 
  
-[[array_key()]] - Return the key for an array index+[[array()]] - Create an <html><b><span style="color:green">array<span style="color:black"></b></html>, with optional values 
 + 
 +[[array_key()]] - Return the key for an <html><b><span style="color:green">array<span style="color:black"></b></html> index
  
-[[sizeof()]] - Return the number of elements in an array+[[sizeof()]] - Return the number of elements in an <html><b><span style="color:green">array<span style="color:black"></b></html>
  
-[[print_r()]] - Dump the contents of an array 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:variables|uPHP Variable Types and Limits]] [[uphp:variables|uPHP Variable Types and Limits]]
  
uphp/functions/array_keys.1490722438.txt.gz · Last modified: 2021/09/13 05:56 (external edit)