Lines Matching refs:var_export

2 Test var_export() function with locale
14 /* Prototype: mixed var_export( mixed expression [, bool return]);
19 echo "*** Testing var_export() with integer values ***\n";
42 /* Loop to check for above integer values with var_export() */
46 var_export( $int_value );
48 var_export( $int_value, FALSE);
50 var_dump( var_export( $int_value, TRUE) );
55 echo "*** Testing var_export() with valid boolean values ***\n";
66 /* Loop to check for above boolean values with var_export() */
70 var_export( $bool_value );
72 var_export( $bool_value, FALSE);
74 var_dump( var_export( $bool_value, TRUE) );
79 echo "*** Testing var_export() with valid float values ***\n";
104 /* Loop to check for above float values with var_export() */
108 var_export( $float_value );
110 var_export( $float_value, FALSE);
112 var_dump( var_export( $float_value, TRUE) );
117 echo "*** Testing var_export() with valid strings ***\n";
137 /* Loop to check for above strings with var_export() */
141 var_export( $str );
143 var_export( $str, FALSE);
145 var_dump( var_export( $str, TRUE) );
150 echo "*** Testing var_export() with valid arrays ***\n";
170 /* Loop to check for above arrays with var_export() */
174 var_export( $arr );
176 var_export( $arr, FALSE);
178 var_dump( var_export( $arr, TRUE) );
183 echo "*** Testing var_export() with valid objects ***\n";
223 var_export ( $vars );
265 /* Loop to check for above objects with var_export() */
269 var_export( $obj );
271 var_export( $obj, FALSE);
273 var_dump( var_export( $obj, TRUE) );
278 echo "*** Testing var_export() with valid null values ***\n";
290 /* Loop to check for above null values with var_export() */
294 var_export( $null_value );
296 var_export( $null_value, FALSE);
298 var_dump( var_export( $null_value, true) );
305 var_export( var_export() );
308 var_export( var_export(TRUE, FALSE, TRUE) );
315 *** Testing var_export() with integer values ***
426 *** Testing var_export() with valid boolean values ***
465 *** Testing var_export() with valid float values ***
504 *** Testing var_export() with valid strings ***
597 *** Testing var_export() with valid arrays ***
828 *** Testing var_export() with valid objects ***
1032 *** Testing var_export() with valid null values ***
1056 Warning: var_export() expects at least 1 parameter, 0 given in %s on line %d
1058 Warning: var_export() expects at most 2 parameters, 3 given in %s on line %d