/PHP-5.5/ext/zlib/tests/ |
H A D | gzopen_variation4.phpt | 12 * Description: Open a .gz-file and return a .gz-file pointer 55 //create a file in dir1 111 This is a file in dir2 112 This is a file in dir1 113 This is a file in dir1 114 This is a file in working dir 115 This is a file in script dir 155 This is a file in dir2 156 This is a file in dir1 157 This is a file in dir1 [all …]
|
H A D | readgzfile_variation15.phpt | 31 // create a file in the middle directory 33 gzwrite($h, "This is a file in dir2"); 41 //create a file in dir1 43 gzwrite($h, "This is a file in dir1"); 51 // create a file in working directory 69 // create a file in the script directory 88 file content:This is a file in dir2 89 file content:This is a file in dir1 90 file content:This is a file in dir1 91 file content:This is a file in working dir [all …]
|
/PHP-5.5/ext/standard/tests/strings/ |
H A D | strtoupper1.phpt | 69 var_dump( strtoupper("a", "b") ); /* Arguments > Expected */ 85 0a => 0a 101 1a => 1a 117 2a => 2a 133 3a => 3a 149 4a => 4a 165 5a => 5a 181 6a => 4a 197 7a => 5a
|
H A D | bug21744.phpt | 6 <a href="test?test\\!!!test">test</a> 11 print strip_tags($test, '<a>'); 15 <a href="test?test\!!!test">test</a>
|
H A D | htmlentities21.phpt | 29 $a = htmlentities($test, $flag | ENT_DISALLOWED, $charset); 31 … if ($a == "" && $b == "") { echo sprintf("%05X", $tests[$i]), ": INVALID SEQUENCE\n"; continue; } 32 echo sprintf("%05X", $tests[$i]), ": ", bin2hex($a), " ", bin2hex($b), "\n"; 76 0000A: 0a 0a 92 0000A: 0a 0a 108 0000A: 264e65774c696e653b 0a 124 0000A: 0a 0a 140 0000A: 0a 0a 156 0000A: 0a 0a 172 0000A: 0a 0a [all …]
|
/PHP-5.5/ext/standard/tests/file/ |
H A D | symlink_to_symlink.phpt | 2 symlink() using a relative path, and symlink() to a symlink 15 // symlink to a regular file using a relative dest 18 // symlink to a symlink using a relative path 21 // symlink to a non-existent path 25 // symlink to a regular file using an absolute path 28 // symlink to a symlink using an absolute path
|
H A D | bug55124.phpt | 7 mkdir('a/./b', 0755, true); 8 if (is_dir('a/b')) { 9 rmdir('a/b'); 11 if (is_dir('./a')) { 12 rmdir('a');
|
/PHP-5.5/ext/pcre/tests/ |
H A D | preg_replace_error2.phpt | 14 $regex = '/[a-zA-Z]/'; 15 $replace = array('this is a string', array('this is', 'a subarray'),); 28 Arg value is: this is a string 29 string(64) "this is a stringthis is a stringthis is a stringthis is a string" 33 Warning: preg_replace(): Parameter mismatch, pattern is a string while replacement is an array in %…
|
/PHP-5.5/ext/standard/tests/array/ |
H A D | each_variation5.phpt | 13 * 1. a two-dimensional array 14 * 2. a sub-array 22 array('a', 'b', 'c') 25 echo "\n-- Pass each() a two-dimensional array --\n"; 30 echo "\n-- Pass each() a sub-array --\n"; 39 -- Pass each() a two-dimensional array -- 85 -- Pass each() a sub-array -- 88 string(1) "a" 90 string(1) "a"
|
/PHP-5.5/ext/standard/tests/general_functions/ |
H A D | bug41970.phpt | 6 $a = array(4,3,2); 8 var_dump(call_user_func_array("sort", array($a))); 9 var_dump(call_user_func_array("strlen", array($a))); 10 var_dump(call_user_func("sort", $a)); 11 var_dump(call_user_func("strlen", $a)); 16 Warning: Parameter 1 to sort() expected to be a reference, value given in %sbug41970.php on line 5 22 Warning: Parameter 1 to sort() expected to be a reference, value given in %sbug41970.php on line 7
|
/PHP-5.5/ext/json/tests/ |
H A D | 006.phpt | 8 $a = array('<foo>',"'bar'",'"baz"','&blong&'); 10 echo "Normal: ", json_encode($a), "\n"; 11 echo "Tags: ", json_encode($a,JSON_HEX_TAG), "\n"; 12 echo "Apos: ", json_encode($a,JSON_HEX_APOS), "\n"; 13 echo "Quot: ", json_encode($a,JSON_HEX_QUOT), "\n"; 14 echo "Amp: ", json_encode($a,JSON_HEX_AMP), "\n"; 15 echo "All: ", json_encode($a,JSON_HEX_TAG|JSON_HEX_APOS|JSON_HEX_QUOT|JSON_HEX_AMP), "\n";
|
/PHP-5.5/ext/phar/tests/ |
H A D | 018.phpt | 19 $files['a'] = 'a'; 20 $files['b/a'] = 'b'; 25 while (false !== ($a = readdir($dir))) { 26 var_dump($a); 27 var_dump(is_dir('phar://hio/' . $a)); 33 string(1) "a"
|
H A D | 019.phpt | 17 $files['a'] = 'a'; 18 $files['b/a'] = 'b'; 28 while (false !== ($a = readdir($dir))) { 29 var_dump($a); 30 var_dump(is_dir('phar://hio/b/' . $a)); 38 %s(1) "a"
|
/PHP-5.5/Zend/tests/ |
H A D | bug32296.phpt | 19 $a = get_class_methods(get_class($this)); 21 print($c."\n".'a:'); 22 print_r($a); 30 $a = new square(); 31 $a->buggy(); 33 print_r(get_class_methods($a)); 37 a:Array
|
H A D | isset_003.phpt | 6 $a = 'foo'; 7 $b =& $a; 11 var_dump(isset($a[0], $b[1])); 13 var_dump(isset($a[0]->a)); 15 var_dump(isset($c[0][1][2]->a->b->c->d)); 17 var_dump(isset(${$a}->{$b->$c[$d]}));
|
H A D | ns_064.phpt | 15 public function __set($a, $b) { 16 var_dump($a, $b); 18 public function __get($a) { 19 var_dump($a); 27 $x->a = 1; 33 string(1) "a"
|
H A D | call_static_004.phpt | 7 static function __callstatic($a, $b) { 8 var_dump($a); 14 $a = 1; 15 foo::$a(); 21 Fatal error: Function name must be a string in %s on line %d
|
H A D | gc_012.phpt | 7 $a=array(); 9 $a[$i] = array(array()); 10 $a[$i][0] = & $a[$i]; 13 unset($a);
|
/PHP-5.5/tests/lang/ |
H A D | func_num_args.004.phpt | 23 $a = 'original.a'; 24 valRef($a, $a); 25 var_dump($a); 36 string(10) "original.a" 37 string(10) "original.a"
|
/PHP-5.5/tests/lang/operators/ |
H A D | bitwiseShiftLeft_variationStr.phpt | 52 --- testing: '0' << '3.4a' --- 80 --- testing: '65' << '3.4a' --- 108 --- testing: '-44' << '3.4a' --- 136 --- testing: '1.2' << '3.4a' --- 164 --- testing: '-7.7' << '3.4a' --- 192 --- testing: 'abc' << '3.4a' --- 364 --- testing: '3.4a' << '0' --- 366 --- testing: '3.4a' << '65' --- 368 --- testing: '3.4a' << '-44' --- 370 --- testing: '3.4a' << '1.2' --- [all …]
|
H A D | bitwiseShiftLeft_variationStr_64bit.phpt | 52 --- testing: '0' << '3.4a' --- 80 --- testing: '65' << '3.4a' --- 108 --- testing: '-44' << '3.4a' --- 136 --- testing: '1.2' << '3.4a' --- 164 --- testing: '-7.7' << '3.4a' --- 192 --- testing: 'abc' << '3.4a' --- 364 --- testing: '3.4a' << '0' --- 366 --- testing: '3.4a' << '65' --- 368 --- testing: '3.4a' << '-44' --- 370 --- testing: '3.4a' << '1.2' --- [all …]
|
H A D | divide_variationStr.phpt | 48 --- testing: '0' / '3.4a' --- 76 --- testing: '65' / '3.4a' --- 104 --- testing: '-44' / '3.4a' --- 132 --- testing: '1.2' / '3.4a' --- 160 --- testing: '-7.7' / '3.4a' --- 188 --- testing: 'abc' / '3.4a' --- 360 --- testing: '3.4a' / '0' --- 362 --- testing: '3.4a' / '65' --- 364 --- testing: '3.4a' / '-44' --- 366 --- testing: '3.4a' / '1.2' --- [all …]
|
/PHP-5.5/ext/standard/tests/serialize/ |
H A D | incomplete_class.phpt | 10 $o->test = "a"; 20 …a method or access a property of an incomplete object. Please ensure that the class definition "un… 22 …a method or access a property of an incomplete object. Please ensure that the class definition "un… 25 …a method or access a property of an incomplete object. Please ensure that the class definition "un…
|
/PHP-5.5/ext/phar/tests/tar/ |
H A D | tar_gzip.phpt | 22 $a = new tarmaker($fname, 'zlib'); 23 $a->init(); 24 $a->addFile('tar_004.php', '<?php var_dump(__FILE__);'); 25 $a->addFile('internal/file/here', "hi there!\n"); 26 $a->mkDir('internal/dir'); 27 $a->mkDir('dir'); 28 $a->addFile('.phar/stub.php', '<?php 33 $a->close(); 37 $a = new Phar($fname); 38 $a['test'] = 'hi';
|
/PHP-5.5/ext/spl/tests/ |
H A D | arrayObject_setIteratorClass_error1.phpt | 6 $ao = new ArrayObject(array('a'=>1,'b'=>2,'c'=>3)); 16 $ao = new ArrayObject(array('a'=>1,'b'=>2,'c'=>3)); 27 $ao = new ArrayObject(array('a'=>1,'b'=>2,'c'=>3), 0, "nonExistentClass"); 36 $ao = new ArrayObject(array('a'=>1,'b'=>2,'c'=>3), 0, "stdClass"); 46 Warning: ArrayObject::setIteratorClass() expects parameter 1 to be a class name derived from Iterat… 47 a=>1 51 Warning: ArrayObject::setIteratorClass() expects parameter 1 to be a class name derived from Iterat… 52 a=>1 55 string(113) "ArrayObject::__construct() expects parameter 3 to be a class name derived from Iterato… 56 string(105) "ArrayObject::__construct() expects parameter 3 to be a class name derived from Iterato…
|