/PHP-5.5/ext/phar/tests/zip/ |
H A D | delete_in_phar.phpt | 2 Phar: delete a file within a zip-based .phar 15 $phar['a.php'] = '<?php echo "This is a\n"; ?>'; 29 include $alias . '/a.php'; 36 include $alias . '/a.php'; 45 This is a 49 This is a 52 …phar.phar.zip/b/c.php): failed to open stream: phar error: "b/c.php" is not a file in phar "%sdele…
|
/PHP-5.5/ext/pcre/tests/ |
H A D | preg_replace_callback_error1.phpt | 15 '/[a-zA-Z]', //Regex without closing delimiter 16 '[a-zA-Z]/', //Regex without opening delimiter 17 '/[a-zA-Z]/F', array('[a-z]', //Array of Regexes 18 '[A-Z]', '[0-9]'), '/[a-zA-Z]/'); //Regex string 39 Arg value is /[a-zA-Z] 44 Arg value is [a-zA-Z]/ 49 Arg value is /[a-zA-Z]/F 57 Arg value is /[a-zA-Z]/
|
/PHP-5.5/ext/phar/tests/ |
H A D | delete_in_phar.phpt | 2 Phar: delete a file within a .phar 15 $files['a.php'] = '<?php echo "This is a\n"; ?>'; 29 include $pname . '/a.php'; 36 include $pname . '/a.php'; 45 This is a 49 This is a 52 …phar.phar.php/b/c.php): failed to open stream: phar error: "b/c.php" is not a file in phar "%sdele…
|
H A D | phar_oo_compressallgz.phpt | 16 $files['a'] = 'a'; 24 var_dump(file_get_contents($pname . '/a')); 25 var_dump($phar['a']->isCompressed()); 33 var_dump(file_get_contents($pname . '/a')); 34 var_dump($phar['a']->isCompressed(Phar::GZ)); 35 var_dump($phar['a']->isCompressed(Phar::BZ2)); 55 string(1) "a" 61 string(1) "a"
|
H A D | fopen_edgecases2.phpt | 18 $a = fopen($fname, 'rb'); 19 echo fread($a, 1000); 20 fclose($a); 25 $a = fopen("foob", "rb", false, $context); 26 echo fread($a, 1000); 27 fclose($a); 39 Warning: fopen() expects parameter 1 to be a valid path, array given in %sfopen_edgecases2.php on l… 43 …dgecases2.phar.php/oops): failed to open stream: phar error: path "oops" is a directory in phar://…
|
/PHP-5.5/ext/standard/tests/array/ |
H A D | array_diff_variation7.phpt | 18 $a = 'a'; 20 $arr1 = array ("&$a", 'b', 'c'); 26 $a = 1; 28 echo "-- \$a changed --\n"; 54 string(2) "&a" 68 -- $a changed -- 71 string(2) "&a"
|
H A D | array_intersect_uassoc_variation8.phpt | 6 …tes the intersection of arrays with additional index check, compares indexes by a callback function 13 $ref_var = 'a'; 14 $array1 = array('a', $ref_var); 15 $array2 = array('a' => 1, &$ref_var); 34 -- Testing array_intersect_uassoc() function with referenced variable $ref_var has value 'a' -- 37 string(1) "a" 47 string(1) "a" 49 string(1) "a"
|
H A D | array_uintersect_uassoc_variation3.phpt | 112 Warning: array_uintersect_uassoc() expects parameter 3 to be a valid callback, no array or string g… 117 Warning: array_uintersect_uassoc() expects parameter 3 to be a valid callback, no array or string g… 122 Warning: array_uintersect_uassoc() expects parameter 3 to be a valid callback, no array or string g… 127 Warning: array_uintersect_uassoc() expects parameter 3 to be a valid callback, no array or string g… 132 Warning: array_uintersect_uassoc() expects parameter 3 to be a valid callback, no array or string g… 137 Warning: array_uintersect_uassoc() expects parameter 3 to be a valid callback, no array or string g… 142 Warning: array_uintersect_uassoc() expects parameter 3 to be a valid callback, no array or string g… 147 Warning: array_uintersect_uassoc() expects parameter 3 to be a valid callback, no array or string g… 152 Warning: array_uintersect_uassoc() expects parameter 3 to be a valid callback, no array or string g… 167 …: array_uintersect_uassoc() expects parameter 3 to be a valid callback, first array member is not … [all …]
|
H A D | array_uintersect_uassoc_variation4.phpt | 112 Warning: array_uintersect_uassoc() expects parameter 4 to be a valid callback, no array or string g… 117 Warning: array_uintersect_uassoc() expects parameter 4 to be a valid callback, no array or string g… 122 Warning: array_uintersect_uassoc() expects parameter 4 to be a valid callback, no array or string g… 127 Warning: array_uintersect_uassoc() expects parameter 4 to be a valid callback, no array or string g… 132 Warning: array_uintersect_uassoc() expects parameter 4 to be a valid callback, no array or string g… 137 Warning: array_uintersect_uassoc() expects parameter 4 to be a valid callback, no array or string g… 142 Warning: array_uintersect_uassoc() expects parameter 4 to be a valid callback, no array or string g… 147 Warning: array_uintersect_uassoc() expects parameter 4 to be a valid callback, no array or string g… 152 Warning: array_uintersect_uassoc() expects parameter 4 to be a valid callback, no array or string g… 167 …: array_uintersect_uassoc() expects parameter 4 to be a valid callback, first array member is not … [all …]
|
H A D | array_uintersect_variation3.phpt | 109 Warning: array_uintersect() expects parameter 3 to be a valid callback, no array or string given in… 114 Warning: array_uintersect() expects parameter 3 to be a valid callback, no array or string given in… 119 Warning: array_uintersect() expects parameter 3 to be a valid callback, no array or string given in… 124 Warning: array_uintersect() expects parameter 3 to be a valid callback, no array or string given in… 129 Warning: array_uintersect() expects parameter 3 to be a valid callback, no array or string given in… 134 Warning: array_uintersect() expects parameter 3 to be a valid callback, no array or string given in… 139 Warning: array_uintersect() expects parameter 3 to be a valid callback, no array or string given in… 144 Warning: array_uintersect() expects parameter 3 to be a valid callback, no array or string given in… 149 Warning: array_uintersect() expects parameter 3 to be a valid callback, no array or string given in… 164 Warning: array_uintersect() expects parameter 3 to be a valid callback, first array member is not a… [all …]
|
H A D | array_udiff_assoc_variation3.phpt | 109 Warning: array_udiff_assoc() expects parameter 3 to be a valid callback, no array or string given i… 114 Warning: array_udiff_assoc() expects parameter 3 to be a valid callback, no array or string given i… 119 Warning: array_udiff_assoc() expects parameter 3 to be a valid callback, no array or string given i… 124 Warning: array_udiff_assoc() expects parameter 3 to be a valid callback, no array or string given i… 129 Warning: array_udiff_assoc() expects parameter 3 to be a valid callback, no array or string given i… 134 Warning: array_udiff_assoc() expects parameter 3 to be a valid callback, no array or string given i… 139 Warning: array_udiff_assoc() expects parameter 3 to be a valid callback, no array or string given i… 144 Warning: array_udiff_assoc() expects parameter 3 to be a valid callback, no array or string given i… 149 Warning: array_udiff_assoc() expects parameter 3 to be a valid callback, no array or string given i… 164 …arning: array_udiff_assoc() expects parameter 3 to be a valid callback, first array member is not … [all …]
|
H A D | array_udiff_uassoc_variation3.phpt | 112 Warning: array_udiff_uassoc() expects parameter 3 to be a valid callback, no array or string given … 117 Warning: array_udiff_uassoc() expects parameter 3 to be a valid callback, no array or string given … 122 Warning: array_udiff_uassoc() expects parameter 3 to be a valid callback, no array or string given … 127 Warning: array_udiff_uassoc() expects parameter 3 to be a valid callback, no array or string given … 132 Warning: array_udiff_uassoc() expects parameter 3 to be a valid callback, no array or string given … 137 Warning: array_udiff_uassoc() expects parameter 3 to be a valid callback, no array or string given … 142 Warning: array_udiff_uassoc() expects parameter 3 to be a valid callback, no array or string given … 147 Warning: array_udiff_uassoc() expects parameter 3 to be a valid callback, no array or string given … 152 Warning: array_udiff_uassoc() expects parameter 3 to be a valid callback, no array or string given … 167 …rning: array_udiff_uassoc() expects parameter 3 to be a valid callback, first array member is not … [all …]
|
H A D | array_udiff_uassoc_variation4.phpt | 112 Warning: array_udiff_uassoc() expects parameter 4 to be a valid callback, no array or string given … 117 Warning: array_udiff_uassoc() expects parameter 4 to be a valid callback, no array or string given … 122 Warning: array_udiff_uassoc() expects parameter 4 to be a valid callback, no array or string given … 127 Warning: array_udiff_uassoc() expects parameter 4 to be a valid callback, no array or string given … 132 Warning: array_udiff_uassoc() expects parameter 4 to be a valid callback, no array or string given … 137 Warning: array_udiff_uassoc() expects parameter 4 to be a valid callback, no array or string given … 142 Warning: array_udiff_uassoc() expects parameter 4 to be a valid callback, no array or string given … 147 Warning: array_udiff_uassoc() expects parameter 4 to be a valid callback, no array or string given … 152 Warning: array_udiff_uassoc() expects parameter 4 to be a valid callback, no array or string given … 167 …rning: array_udiff_uassoc() expects parameter 4 to be a valid callback, first array member is not … [all …]
|
H A D | array_udiff_variation3.phpt | 109 Warning: array_udiff() expects parameter 3 to be a valid callback, no array or string given in %sar… 114 Warning: array_udiff() expects parameter 3 to be a valid callback, no array or string given in %sar… 119 Warning: array_udiff() expects parameter 3 to be a valid callback, no array or string given in %sar… 124 Warning: array_udiff() expects parameter 3 to be a valid callback, no array or string given in %sar… 129 Warning: array_udiff() expects parameter 3 to be a valid callback, no array or string given in %sar… 134 Warning: array_udiff() expects parameter 3 to be a valid callback, no array or string given in %sar… 139 Warning: array_udiff() expects parameter 3 to be a valid callback, no array or string given in %sar… 144 Warning: array_udiff() expects parameter 3 to be a valid callback, no array or string given in %sar… 149 Warning: array_udiff() expects parameter 3 to be a valid callback, no array or string given in %sar… 164 Warning: array_udiff() expects parameter 3 to be a valid callback, first array member is not a vali… [all …]
|
/PHP-5.5/ext/session/tests/ |
H A D | bug36459.phpt | 24 <a href="/b2w/www/ru/adm/pages/?action=prev&rec_id=8&pid=2" 25 style="font: normal 11pt Times New Roman">incorrect link</a><br /> 27 …<a href="/b2w/www/ru/adm/pages/?action=prev&rec_id=8&pid=2" style="font: normal 11pt Times New Rom… 37 <a href="/b2w/www/ru/adm/pages/?action=prev&rec_id=8&pid=2&sid=%s" 38 style="font: normal 11pt Times New Roman">incorrect link</a><br /> 40 …<a href="/b2w/www/ru/adm/pages/?action=prev&rec_id=8&pid=2&sid=%s" style="font: normal 11pt Times …
|
/PHP-5.5/ext/standard/tests/dir/ |
H A D | readdir_basic.phpt | 26 $a = array(); 28 $a[] = $file; 30 sort($a); 31 foreach($a as $file) { 37 $a = array(); 39 $a[] = $file; 41 sort($a); 42 foreach($a as $file) {
|
/PHP-5.5/Zend/tests/ |
H A D | bug44660.phpt | 6 $a = true; 9 echo $a->p; 12 $a->p = $s; 15 $a->p++; 18 $a->p =& $s; 21 $s =& $a->p; 24 $a->p[0] = $s; 27 var_dump($a);
|
H A D | indexing_001.phpt | 51 Warning: Cannot use a scalar value as an array in %s on line %d 54 Warning: Cannot use a scalar value as an array in %s on line %d 57 Warning: Cannot use a scalar value as an array in %s on line %d 79 Warning: Cannot use a scalar value as an array in %s on line %d 98 Warning: Cannot use a scalar value as an array in %s on line %d 101 Warning: Cannot use a scalar value as an array in %s on line %d 104 Warning: Cannot use a scalar value as an array in %s on line %d 121 Warning: Cannot use a scalar value as an array in %s on line %d 139 Warning: Cannot use a scalar value as an array in %s on line %d 142 Warning: Cannot use a scalar value as an array in %s on line %d [all …]
|
H A D | gc_022.phpt | 8 $a = array(array()); 9 $a[0][0] =& $a[0]; 10 $s = array(1) + unserialize(serialize($a[0]));
|
/PHP-5.5/ext/iconv/tests/ |
H A D | iconv_substr.phpt | 34 bar("This is a test", 100000); 35 bar("This is a test", 0, 100000); 36 bar("This is a test", -3); 37 bar("This is a test", 0, -9); 38 bar("This is a test", 0, -100000); 39 bar("This is a test", -9, -100000); 49 string(14) "This is a test" 50 string(14) "This is a test"
|
/PHP-5.5/ext/oci8/tests/ |
H A D | bind_number.phpt | 53 echo "\nTEST66 insert a float\n"; 80 echo "\nTEST71 insert a decimal\n"; 98 echo "\nTEST73 insert a double\n"; 147 TEST66 insert a float 156 TEST67 insert a binary float 165 TEST69 insert a binary double 174 TEST71 insert a decimal 183 TEST72 insert a decimal 192 TEST73 insert a double 201 TEST75 insert a INTEGER [all …]
|
/PHP-5.5/ |
H A D | README.STREAMS | 23 Streams use a php_stream* parameter just as ANSI stdio (fread etc.) use a 77 Convert a FILE * into a stream. 80 Open a FILE * with tmpfile() and convert into a stream. 89 Convert a socket into a stream. 93 Open a connection to a host and return a stream. 191 If you ask a socket stream for a FILE*, the abstraction will use fdopen to 212 to check if a stream is a socket you might use: 215 /* it can be a socket */ 228 itself, which holds some state information (and possibly a buffer) and a 240 The idea is that a stream implementation defines a php_stream_ops struct, and [all …]
|
/PHP-5.5/ext/standard/tests/strings/ |
H A D | bug27278.phpt | 6 function foo ($a) 8 $a=sprintf("%02d",$a); 9 var_dump($a);
|
/PHP-5.5/ext/mysql/tests/ |
H A D | mysql_fetch_array.phpt | 222 func_mysql_fetch_array($link, $engine, "CHAR(1)", "a", "a", 540); 224 func_mysql_fetch_array($link, $engine, "CHAR(1) NOT NULL", "a", "a", 560); 229 func_mysql_fetch_array($link, $engine, "VARCHAR(1)", "a", "a", 580); 247 func_mysql_fetch_array($link, $engine, "TINYTEXT", "a", "a", 750); 248 func_mysql_fetch_array($link, $engine, "TINYTEXT NOT NULL", "a", "a", 760); 251 func_mysql_fetch_array($link, $engine, "BLOB", "a", "a", 780, null , true); 254 func_mysql_fetch_array($link, $engine, "TEXT", "a", "a", 800); 260 func_mysql_fetch_array($link, $engine, "MEDIUMTEXT", "a", "a", 860); 266 func_mysql_fetch_array($link, $engine, "ENUM('a', 'b')", "a", "a", 920); 269 func_mysql_fetch_array($link, $engine, "SET('a', 'b')", "a", "a", 940); [all …]
|
/PHP-5.5/ext/phar/tests/tar/ |
H A D | 033.phpt | 15 $phar['a.php'] = '<?php echo "This is a\n"; include "'.$alias.'/b.php"; ?>'; 21 var_dump($phar['a.php']->isExecutable()); 22 $phar['a.php']->chmod(0777); 23 var_dump($phar['a.php']->isExecutable()); 24 $phar['a.php']->chmod(0666); 25 var_dump($phar['a.php']->isExecutable());
|