Home
last modified time | relevance | path

Searched refs:var_export (Results 1 – 25 of 163) sorted by relevance

1234567

/php-src/ext/standard/tests/strings/
H A Dsubstr_replace.phpt59 …replace("\n","","substr_replace(".var_export($str,1).", ".var_export($repl,1).", ".var_export($sta…
64 …replace("\n","","substr_replace(".var_export($str,1).", ".var_export($repl,1).", ".var_export($sta…
69 …replace("\n","","substr_replace(".var_export($str,1).", ".var_export($repl,1).", ".var_export($sta…
93 …replace("\n","","substr_replace(".var_export($str,1).", ".var_export($repl,1).",".var_export($star…
103 …replace("\n","","substr_replace(".var_export($str,1).", ".var_export($repl,1).",".var_export($star…
112 …replace("\n","","substr_replace(".var_export($str,1).", ".var_export($repl,1).",".var_export($star…
122 …replace("\n","","substr_replace(".var_export($str,1).", ".var_export($repl,1).",".var_export($star…
130 …replace("\n","","substr_replace(".var_export($str,1).", ".var_export($repl,1).",".var_export($star…
140 …replace("\n","","substr_replace(".var_export($str,1).", ".var_export($repl,1).",".var_export($star…
167 …replace("\n","","substr_replace(".var_export($str,1).", ".var_export($repl,1).",".var_export($star…
[all …]
/php-src/ext/standard/tests/general_functions/
H A Dvar_export_bug66179.phpt2 Bug #66179 (var_export() exports float as integer)
6 var_export(1.0);
8 var_export(123.0);
10 var_export(-1.0);
12 var_export(-123.0);
14 var_export(0.0);
16 var_export(-0.0);
18 var_export(10000000000000000.0);
H A Dvar_export_basic7.phpt2 Test var_export() function with valid null values
5 echo "*** Testing var_export() with valid null values ***\n";
18 /* Loop to check for above null values with var_export() */
22 var_export( $null_value );
24 var_export( $null_value, FALSE);
26 var_dump( var_export( $null_value, true) );
31 *** Testing var_export() with valid null values ***
H A Dvar_export_basic2.phpt2 Test var_export() function with valid boolean values
6 echo "*** Testing var_export() with valid boolean values ***\n";
17 /* Loop to check for above boolean values with var_export() */
21 var_export( $bool_value );
23 var_export( $bool_value, FALSE);
25 var_dump( var_export( $bool_value, TRUE) );
30 *** Testing var_export() with valid boolean values ***
H A Dvar_export_bug71314.phpt2 Bug #71314 (var_export(INF) prints INF.0)
6 var_export(INF);
8 var_export(-INF);
10 var_export(NAN);
H A Dvar_export-locale.phpt2 Test var_export() function with locale
44 var_export( $int_value );
68 var_export( $bool_value );
106 var_export( $float_value );
139 var_export( $str );
141 var_export( $str, FALSE);
172 var_export( $arr );
174 var_export( $arr, FALSE);
221 var_export ( $vars );
267 var_export( $obj );
[all …]
H A Dvar_export-locale_32.phpt2 Test var_export() function with locale
44 var_export( $int_value );
68 var_export( $bool_value );
106 var_export( $float_value );
139 var_export( $str );
141 var_export( $str, FALSE);
172 var_export( $arr );
174 var_export( $arr, FALSE);
221 var_export ( $vars );
267 var_export( $obj );
[all …]
H A Dvar_export_basic4.phpt2 Test var_export() function with valid strings
5 echo "*** Testing var_export() with valid strings ***\n";
26 /* Loop to check for above strings with var_export() */
30 var_export( $str );
32 var_export( $str, FALSE);
34 var_dump( var_export( $str, TRUE) );
40 *** Testing var_export() with valid strings ***
H A Dbug42272.phpt2 Bug #42272 (var_export() incorrectly escapes char(0))
5 $foo = var_export("\0", true );
7 var_export("a\0b");
H A Dvar_export_basic1.phpt2 Test var_export() function with integer values
11 echo "*** Testing var_export() with integer values ***\n";
34 /* Loop to check for above integer values with var_export() */
38 var_export( $int_value );
40 var_export( $int_value, FALSE);
42 var_dump( var_export( $int_value, TRUE) );
47 *** Testing var_export() with integer values ***
H A Dvar_export_basic1_32.phpt2 Test var_export() function with integer values
11 echo "*** Testing var_export() with integer values ***\n";
34 /* Loop to check for above integer values with var_export() */
38 var_export( $int_value );
40 var_export( $int_value, FALSE);
42 var_dump( var_export( $int_value, TRUE) );
47 *** Testing var_export() with integer values ***
H A Dvar_export_error3.phpt2 Test var_export() function : error conditions - recursive array
6 var_export($a, true);
10 Warning: var_export does not handle circular references in %s on line %d
H A Dvar_export_basic3.phpt2 Test var_export() function with valid float values
7 echo "*** Testing var_export() with valid float values ***\n";
31 /* Loop to check for above float values with var_export() */
35 var_export( $float_value );
37 var_export( $float_value, FALSE);
39 var_dump( var_export( $float_value, TRUE) );
45 *** Testing var_export() with valid float values ***
H A Dvar_export_error2.phpt2 Test var_export() function : error conditions - recursive object
7 var_export($obj, true);
11 Warning: var_export does not handle circular references in %s on line %d
H A Dbug76717.phpt2 Bug #76717: var_export() does not create a parsable value for PHP_INT_MIN
6 $min = eval('return '.var_export(PHP_INT_MIN, true).';');
7 $max = eval('return '.var_export(PHP_INT_MAX, true).';');
/php-src/ext/json/tests/
H A Dbug81532.phpt17 var_export(json_encode($a, 0, 0)); echo "\n";
18 var_export(json_encode($a, 0, 1)); echo "\n";
19 var_export(json_encode($b, 0, 1)); echo "\n";
20 var_export(json_encode($b, 0, 2)); echo "\n";
21 var_export(json_encode($c, 0, 2)); echo "\n";
22 var_export(json_encode($c, 0, 3)); echo "\n";
/php-src/ext/pdo_mysql/tests/
H A Dpdo_mysql_stmt_bindvalue.phpt45 var_export($id, true), gettype($id),
46 var_export($label, true), gettype($label));
67 var_export($id, true), gettype($id),
91 var_export($id, true), gettype($id),
120 var_export($id, true), gettype($id),
150 var_export($id, true), gettype($id),
185 var_export($id, true), gettype($id),
207 var_export($id, true), gettype($id),
231 var_export($id, true), gettype($id),
260 var_export($id, true), gettype($id),
[all …]
H A Dpdo_mysql_attr_case.phpt34 var_export($db->errorInfo(), true), var_export($db->errorCode(), true));
40 var_export($db->errorInfo(), true), var_export($db->errorCode(), true));
44 var_export($tmp, true));
48 var_export($db->errorInfo(), true), var_export($db->errorCode(), true));
52 var_export($db->errorInfo(), true), var_export($db->errorCode(), true));
56 var_export($db->errorInfo(), true), var_export($db->errorCode(), true));
62 var_export($db->errorInfo(), true), var_export($db->errorCode(), true));
66 var_export($tmp, true));
70 var_export($db->errorInfo(), true), var_export($db->errorCode(), true));
76 var_export($db->errorInfo(), true), var_export($db->errorCode(), true));
[all …]
H A Dpdo_mysql_stmt_bindcolumn.phpt29 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
33 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
38 var_export($id, true), gettype($id),
39 var_export($label, true), gettype($label));
49 var_export($row['id'], true), gettype($row['id']));
54 var_export($row['label'], true), gettype($row['label']));
69 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
73 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
78 var_export($id, true), gettype($id),
79 var_export($label, true), gettype($label));
[all …]
/php-src/Zend/tests/enum/
H A Denum-in-var-export.phpt2 Enum in var_export()
19 echo var_export(\Foo::BAR, true) . "\n";
20 echo var_export(\A\Foo::BAR, true) . "\n";
21 echo var_export(\A\B\Foo::BAR, true) . "\n";
H A Dvar_export.phpt2 Enum var_export
10 var_export(Foo::Bar);
13 echo str_replace(" \n", "\n", var_export([Foo::Bar], true));
/php-src/ext/pcre/tests/
H A Dbug61780_1.phpt6 var_export($matches);
9 var_export($matches);
12 var_export($matches);
15 var_export($matches);
18 var_export($matches);
21 var_export($matches);
/php-src/ext/intl/tests/
H A Dbug72533.phpt10 $ret = var_export(ut_loc_accept_http(str_repeat('x', 256)), true);
13 $ret .= var_export(intl_get_error_message(), true);
16 $ret .= var_export(ut_loc_accept_http(str_repeat('en,', 256)), true);
19 $ret .= var_export(intl_get_error_message(), true);
/php-src/ext/mysqli/tests/
H A Dmysqli_insert_id_variation.phpt23 printf("[001] Got no valid insert id: %s", var_export($i, true));
30 printf("[002] mysqli_option changes insert_id: %s", var_export($link->insert_id, true));
37 printf("[003] mysqli_debug_info changes insert_id: %s", var_export($link->insert_id, true));
44 printf("[004] mysqli_stat changes insert_id: %s", var_export($link->insert_id, true));
50 printf("[005] mysqli_kill changes insert_id: %s", var_export($link->insert_id, true));
56 printf("[006] mysqli_ping changes insert_id: %s", var_export($link->insert_id, true));
66 printf("[007] mysqli_change_user changes insert_id: %s", var_export($link->insert_id, true));
73 printf("[008a] mysqli_prepare changes insert_id: %s", var_export($link->insert_id, true));
78 … printf("[008b] mysqli_stmt doesn't initialise insert_id: %s", var_export($stmt->insert_id, true));
84 printf("[009] stmt free changes insert_id: %s", var_export($link->insert_id, true));
/php-src/ext/spl/tests/
H A Dfixedarray_023.phpt2 SPL: FixedArray: Infinite loop in var_export bugfix
11 var_export($x);
18 Warning: var_export does not handle circular references in %s on line 8
20 Warning: var_export does not handle circular references in %s on line 8

Completed in 91 milliseconds

1234567