Home
last modified time | relevance | path

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

12345

/PHP-5.5/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-5.5/ext/standard/tests/general_functions/
H A Dvar_export_error1.phpt2 Test var_export() function : error conditions
5 /* Prototype : mixed var_export(mixed var [, bool return])
11 echo "*** Testing var_export() : error conditions ***\n";
14 echo "\n-- Testing var_export() function with Zero arguments --\n";
15 var_dump( var_export() );
17 //Test var_export with one more than the expected number of arguments
22 var_dump( var_export($var, $return, $extra_arg) );
27 *** Testing var_export() : error conditions ***
29 -- Testing var_export() function with Zero arguments --
31 Warning: var_export() expects at least 1 parameter, 0 given in %s on line 12
[all …]
H A Dvar_export-locale.phpt2 Test var_export() function with locale
46 var_export( $int_value );
70 var_export( $bool_value );
141 var_export( $str );
143 var_export( $str, FALSE);
174 var_export( $arr );
176 var_export( $arr, FALSE);
223 var_export ( $vars );
269 var_export( $obj );
305 var_export( var_export() );
[all …]
H A Dvar_export_basic2.phpt2 Test var_export() function with valid boolean values
6 /* Prototype : mixed var_export(mixed var [, bool return])
12 echo "*** Testing var_export() with valid boolean values ***\n";
23 /* Loop to check for above boolean values with var_export() */
27 var_export( $bool_value );
29 var_export( $bool_value, FALSE);
31 var_dump( var_export( $bool_value, TRUE) );
37 *** Testing var_export() with valid boolean values ***
H A Dvar_export_basic7.phpt2 Test var_export() function with valid null values
5 /* Prototype : mixed var_export(mixed var [, bool return])
11 echo "*** Testing var_export() with valid null values ***\n";
24 /* Loop to check for above null values with var_export() */
28 var_export( $null_value );
30 var_export( $null_value, FALSE);
32 var_dump( var_export( $null_value, true) );
38 *** Testing var_export() with valid null values ***
H A Dvar_export_basic4.phpt2 Test var_export() function with valid strings
5 /* Prototype : mixed var_export(mixed var [, bool return])
12 echo "*** Testing var_export() with valid strings ***\n";
33 /* Loop to check for above strings with var_export() */
37 var_export( $str );
39 var_export( $str, FALSE);
41 var_dump( var_export( $str, TRUE) );
48 *** Testing var_export() with valid strings ***
H A Dvar_export_basic1.phpt2 Test var_export() function with integer values
5 /* Prototype : mixed var_export(mixed var [, bool return])
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) );
48 *** Testing var_export() with integer values ***
H A Dvar_export_error3.phpt2 Test var_export() function : error conditions - recursive array
5 /* Prototype : mixed var_export(mixed var [, bool return])
12 var_export($a, true);
18 Warning: var_export does not handle circular references in %s on line 9
H A Dvar_export_error2.phpt2 Test var_export() function : error conditions - recursive object
5 /* Prototype : mixed var_export(mixed var [, bool return])
12 var_export($obj, true);
18 Warning: var_export does not handle circular references in %s on line 9
H A Dvar_export_basic3.phpt2 Test var_export() function with valid float values
7 /* Prototype : mixed var_export(mixed var [, bool return])
13 echo "*** Testing var_export() with valid float values ***\n";
37 /* Loop to check for above float values with var_export() */
41 var_export( $float_value );
43 var_export( $float_value, FALSE);
45 var_dump( var_export( $float_value, TRUE) );
52 *** Testing var_export() with valid float values ***
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_basic8.phpt2 var_export(): simple test with arrays and objects
5 /* Prototype : mixed var_export(mixed var [, bool return])
18 var_export($o2);
22 var_export($a);
27 var_export($b);
H A Dvar_export_basic5.phpt2 Test var_export() function with valid arrays
7 /* Prototype : mixed var_export(mixed var [, bool return])
14 echo "*** Testing var_export() with valid arrays ***\n";
34 /* Loop to check for above arrays with var_export() */
38 var_export( $arr );
40 var_export( $arr, FALSE);
42 var_dump( var_export( $arr, TRUE) );
48 *** Testing var_export() with valid arrays ***
/PHP-5.5/ext/pdo_mysql/tests/
H A Dpdo_mysql_stmt_bindvalue.phpt43 var_export($id, true), gettype($id),
44 var_export($label, true), gettype($label));
65 var_export($id, true), gettype($id),
89 var_export($id, true), gettype($id),
118 var_export($id, true), gettype($id),
148 var_export($id, true), gettype($id),
183 var_export($id, true), gettype($id),
205 var_export($id, true), gettype($id),
229 var_export($id, true), gettype($id),
258 var_export($id, true), gettype($id),
[all …]
H A Dpdo_mysql_attr_case.phpt31 var_export($db->errorInfo(), true), var_export($db->errorCode(), true));
37 var_export($db->errorInfo(), true), var_export($db->errorCode(), true));
41 var_export($tmp, true));
45 var_export($db->errorInfo(), true), var_export($db->errorCode(), true));
49 var_export($db->errorInfo(), true), var_export($db->errorCode(), true));
53 var_export($db->errorInfo(), true), var_export($db->errorCode(), true));
59 var_export($db->errorInfo(), true), var_export($db->errorCode(), true));
63 var_export($tmp, true));
67 var_export($db->errorInfo(), true), var_export($db->errorCode(), true));
73 var_export($db->errorInfo(), true), var_export($db->errorCode(), true));
[all …]
H A Dpdo_mysql_stmt_bindcolumn.phpt27 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
31 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
36 var_export($id, true), gettype($id),
37 var_export($label, true), gettype($label));
47 var_export($row['id'], true), gettype($row['id']));
52 var_export($row['label'], true), gettype($row['label']));
67 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
71 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
76 var_export($id, true), gettype($id),
77 var_export($label, true), gettype($label));
[all …]
H A Dpdo_mysql_stmt_fetch_non_select.phpt37 var_export($describe, true));
55 var_export($show, true));
81 var_export($db->errorInfo(), true));
97 var_export($describe_native, true));
102 var_export($describe, true),
131 var_export($show_native, true));
136 var_export($show, true),
137 var_export($show_native, true));
161 var_export($explain, true),
162 var_export($explain_native, true));
[all …]
H A Dpdo_mysql_stmt_closecursor_empty.phpt29 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
36 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
40 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
45 var_export($id, true), gettype($id),
46 var_export($label, true), gettype($label));
53 var_export($id, true), gettype($id),
54 var_export($label, true), gettype($label));
H A Dpdo_mysql_stmt_bindparam.phpt23 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
30 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
34 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
39 var_export($id, true), gettype($id),
40 var_export($label, true), gettype($label));
47 var_export($id, true), gettype($id),
48 var_export($label, true), gettype($label));
56 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
60 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
78 var_export($id, true), gettype($id),
[all …]
H A Dpdo_mysql_stmt_bindparam_types.phpt32 var_export($stmt->errorInfo(), true));
37 var_export($stmt->errorInfo(), true));
45 var_export($stmt->errorInfo(), true));
50 var_export($stmt->errorInfo(), true));
56 var_export($stmt->errorInfo(), true));
64 var_export($label, true), var_export($value, true));
72 var_export($stmt->errorInfo(), true));
79 var_export($row['label'], true), var_export($value, true));
86 var_export($row['label'], true), var_export($value, true));
/PHP-5.5/ext/mysqli/tests/
H A Dmysqli_insert_id_variation.phpt22 printf("[001] Got no valid insert id: %s", var_export($i, true));
29 printf("[002] mysqli_option changes insert_id: %s", var_export($link->insert_id, true));
36 printf("[003] mysqli_debug_info changes insert_id: %s", var_export($link->insert_id, true));
43 printf("[004] mysqli_stat changes insert_id: %s", var_export($link->insert_id, true));
49 printf("[005] mysqli_kill changes insert_id: %s", var_export($link->insert_id, true));
55 printf("[006] mysqli_ping changes insert_id: %s", var_export($link->insert_id, true));
65 printf("[007] mysqli_change_user changes insert_id: %s", var_export($link->insert_id, true));
72 printf("[008a] mysqli_prepare changes insert_id: %s", var_export($link->insert_id, true));
77 … printf("[008b] mysqli_stmt doesn't initialise insert_id: %s", var_export($stmt->insert_id, true));
83 printf("[009] stmt free changes insert_id: %s", var_export($link->insert_id, true));
H A Dmysqli_stmt_get_result.phpt37 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), var_export($tmp, 1));
53 printf("[009] non-object, got %s/%s\n", gettype($tmp), var_export($tmp, 1));
62 printf("[011] Expecting NULL, got %s/%s\n", gettype($tmp), var_export($tmp, 1));
75 printf("[016] NULL, got %s/%s\n", gettype($tmp), var_export($tmp, 1));
85 printf("[018] Expecting NULL, got %s/%s\n", gettype($tmp), var_export($tmp, 1));
91 printf("[020] Expecting false, got %s/%s\n", gettype($tmp), var_export($tmp, 1));
97 printf("[024] Expecting object, got %s/%s\n", gettype($tmp), var_export($tmp, 1));
100 printf("[025] false, got %s/%s\n", gettype($tmp), var_export($tmp, 1));
109 printf("[029] false, got %s/%s\n", gettype($tmp), var_export($tmp, 1));
129 gettype($tmp), var_export($tmp, 1),
[all …]
H A D071.phpt21 printf("[001] Expecting boolean/true got %s/%s\n", gettype($ret), var_export($ret, true));
28 …printf("[001] Expecting boolean/true got %s/%s @\n", gettype($ret), var_export($ret, true), $versi…
32 …printf("[001] Expecting boolean/false got %s/%s @\n", gettype($ret), var_export($ret, true), $vers…
48 printf("[002] Expecting boolean/true got %s/%s\n", gettype($ret), var_export($ret, true));
55 …printf("[002] Expecting boolean/true got %s/%s @\n", gettype($ret), var_export($ret, true), $versi…
59 …printf("[002] Expecting boolean/false got %s/%s @\n", gettype($ret), var_export($ret, true), $vers…
/PHP-5.5/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-5.5/ext/standard/tests/array/
H A D007.phpt8 echo '$a='.var_export($a,TRUE).";\n";
9 echo '$b='.var_export($b,TRUE).";\n";
10 echo '$c='.var_export($c,TRUE).";\n";
44 echo '$a='.var_export($a,TRUE).";\n";
45 echo '$b='.var_export($b,TRUE).";\n";
46 echo '$c='.var_export($c,TRUE).";\n";
82 echo '$a='.var_export($a,TRUE).";\n";
83 echo '$b='.var_export($b,TRUE).";\n";
84 echo '$c='.var_export($c,TRUE).";\n";
99 echo '$a='.var_export($a,TRUE).";\n";
[all …]

Completed in 44 milliseconds

12345