Lines Matching refs:array_map
2 Test array_map() function : usage variations - arrays of different size
5 /* Prototype : array array_map ( callback $callback , array $arr1 [, array $... ] )
11 * Test array_map() by passing array having different size
19 echo "*** Testing array_map() : arrays with diff. size ***\n";
26 // calling array_map with different arrays
27 var_dump( array_map('callback', array(1, 2, 3), array()) );
28 var_dump( array_map('callback', array(), array('a', 'b', 'c')) );
29 var_dump( array_map('callback', array(1, 2, 3), array('a', 'b')) );
30 var_dump( array_map('callback', array(012, 0x2F, 0X1A), array(2.3, 12.4e2)) );
31 var_dump( array_map('callback', array(), array(1, 2, 3), array('a', 'b')) ); // passing more no. o…
36 *** Testing array_map() : arrays with diff. size ***