/PHP-5.5/Zend/tests/ |
H A D | closure_040.phpt | 22 $a = new A(20); 24 $ca = $a->getIncrementor(); 25 $cas = $a->getStaticIncrementor(); 27 $ca->bindTo($a, array()); 29 $ca->bindTo($a, array(), ""); 31 $cas->bindTo($a, 'A'); 45 Warning: Cannot bind an instance to a static closure in %s on line %d
|
H A D | bug34893.phpt | 23 $a = new A; 25 $a->p = $b; 28 echo $a->p->t; 29 $a->p->t = "bar"; 30 echo $a->p->t;
|
H A D | bug40809.phpt | 14 $a = Array(); 16 $a[$i] = Array(1); 19 $b[$i] = $a[$i][0]; 21 unset($a); 26 $evil .= str_repeat("a", $increment);
|
H A D | bug38808.phpt | 9 $a =& $b; 11 echo $current($a)."\n"; 12 $next($a); 13 echo $current($a)."\n";
|
H A D | errmsg_042.phpt | 2 errmsg: key element cannot be a reference 6 $a = array(1,2,3); 7 foreach ($a as &$k=>$v) { 13 Fatal error: Key element cannot be a reference in %s on line %d
|
H A D | bug61761.phpt | 2 Bug #61761 ('Overriding' a private static method with a different signature causes crash) 8 private static function test($a) { } 13 private static function test($a, $b) { }
|
/PHP-5.5/tests/classes/ |
H A D | __set__get_001.phpt | 9 public $x = array('a' => 1, 'b' => 2, 'c' => 3); 43 $foo->a = 100; 44 $foo->a++; 50 Setting [a] to 100 52 Getting [a] 54 Setting [a] to 101 65 ["a"]=>
|
/PHP-5.5/tests/lang/ |
H A D | engine_assignExecutionOrder_006.phpt | 36 $a = array(array(0)); 40 $a[i1()][i2()] = ($b[i3()][i4()] = $c[i5()][i6()]); 41 var_dump($a); 45 $a[i1()][i2()] = $b[i3()][i4()] = -$c[i5()][i6()]; 46 var_dump($a); 50 $a[i1()][i2()] = -($b[i3()][i4()] = +($c[i5()][i6()])); 51 var_dump($a);
|
H A D | static_variation_001.phpt | 6 static $a = array(7,8,9); 9 static $a = array(1,2,3); 12 static $a = array(4,5,6); 13 var_dump($a); 16 var_dump($a); 22 var_dump($a);
|
/PHP-5.5/ext/phar/tests/ |
H A D | 027.phpt | 17 $files['a.php'] = '<?php echo "This is a\n"; require \''.$pname.'/b.php\'; ?>'; 46 $a = opendir($pname); 49 var_dump(fseek($a, 0, SEEK_END), ftell($a)); 50 var_dump(fseek($a, -1), ftell($a)); 51 var_dump(fseek($a, 1), ftell($a)); 53 var_dump(fwrite($a, 'hi')); 54 var_dump(fstat($a)); 55 closedir($a); 65 string(6) "/a.php" 90 …y in "phar://", must have at least phar:/// for root directory (always use full path to a new phar)
|
H A D | 027U.phpt | 17 $files['a.php'] = '<?php echo "This is a\n"; require \''.$pname.'/b.php\'; ?>'; 46 $a = opendir($pname); 49 var_dump(fseek($a, 0, SEEK_END), ftell($a)); 50 var_dump(fseek($a, -1), ftell($a)); 51 var_dump(fseek($a, 1), ftell($a)); 53 var_dump(fwrite($a, b'hi')); 54 var_dump(fstat($a)); 55 closedir($a); 65 unicode(6) "/a.php" 90 …y in "phar://", must have at least phar:/// for root directory (always use full path to a new phar)
|
H A D | pharfileinfo_chmod.phpt | 14 $phar['a/b'] = 'hi there'; 16 $b = $phar['a/b']; 18 $phar['a']->chmod(066); 23 lstat($pname . '/a/b'); // sets BG(CurrentLStatFile) 30 Phar entry "a" is a temporary directory (not an actual entry in the archive), cannot chmod
|
H A D | phar_magic.phpt | 12 $p['a'] = '<?php include "b/c.php";' . "\n"; 13 $p['b/c.php'] = '<?php echo "in b\n";$a = fopen("a", "r", true);echo stream_get_contents($a);fclose… 20 include "phar://" . __FILE__ . "/a";
|
/PHP-5.5/ext/standard/tests/file/ |
H A D | fwrite_variation3-win32.phpt | 2 Test fwrite() function : usage variations - a, ab, at, a+, a+b & a+t mode 26 Test fwrite with file opened in mode : a,ab,at,a+,a+b,a+ 30 $file_modes = array("a","ab","at","a+","a+b","a+t"); 86 -- Opening file in a -- 122 -- Opening file in a+ -- 134 -- Opening file in a+b -- 160 -- Opening file in a -- 196 -- Opening file in a+ -- 234 -- Opening file in a -- 270 -- Opening file in a+ -- [all …]
|
H A D | fwrite_variation3.phpt | 2 Test fwrite() function : usage variations - a, ab, at, a+, a+b & a+t modes 26 Test fwrite with file opened in mode : a,ab,at,a+,a+b,a+t 30 $file_modes = array("a","ab","at","a+","a+b","a+t"); 87 -- Opening file in a -- 123 -- Opening file in a+ -- 135 -- Opening file in a+b -- 161 -- Opening file in a -- 197 -- Opening file in a+ -- 235 -- Opening file in a -- 271 -- Opening file in a+ -- [all …]
|
H A D | disk_free_space_variation.phpt | 7 * Description: Given a string containing a directory, this function 14 echo "*** Testing with a directory ***\n"; 31 /* Testing a file trailing slash */ 67 *** Testing with a directory *** 109 Warning: disk_free_space() expects parameter 1 to be a valid path, string given in %s on line %d 112 Warning: diskfreespace() expects parameter 1 to be a valid path, string given in %s on line %d 117 Warning: disk_free_space() expects parameter 1 to be a valid path, string given in %s on line %d 120 Warning: diskfreespace() expects parameter 1 to be a valid path, string given in %s on line %d 125 Warning: disk_free_space() expects parameter 1 to be a valid path, string given in %s on line %d 128 Warning: diskfreespace() expects parameter 1 to be a valid path, string given in %s on line %d [all …]
|
/PHP-5.5/ext/standard/tests/strings/ |
H A D | bug46578.phpt | 2 Bug #46578 (strip_tags() does not honor end-of-comment when it encounters a single quote) 8 var_dump(strip_tags('<a alt="foobar">foo<!-- foo! --></a>bar')); 10 var_dump(strip_tags('<a alt="foobar"/>foo<?= foo! /* <!-- "cool" --> */ ?>bar')); 14 var_dump(strip_tags('<! a>'));
|
/PHP-5.5/ext/standard/tests/array/ |
H A D | array_diff_assoc.phpt | 5 $array1 = array("a" => "green", "b" => "brown", "c" => "blue", "red", ""); 6 $array2 = array("a" => "green", "yellow", "red", TRUE); 7 $array3 = array("red", "a"=>"brown", ""); 27 [a] => green 34 [a] => green
|
H A D | array_search.phpt | 1 --TEST-- 2 Test array_search()/in_array() 3 --FILE-- 4 <?php 5 6 $arr1 = array('a','b','c'); 7 $arr2 = array(); 8 $arr3 = array('c','key'=>'d'); 9 $arr4 = array("a\0b"=>'e','key'=>'d', 'f'); 10 [all …]
|
/PHP-5.5/Zend/tests/traits/ |
H A D | bug60217b.phpt | 7 public abstract function foo($a); 11 public abstract function foo($a, $b = 0); 17 public function foo($a) { 26 Fatal error: Declaration of TBroken2::foo($a, $b = 0) must be compatible with TBroken1::foo($a) in …
|
/PHP-5.5/ext/pcre/pcrelib/testdata/ |
H A D | testoutput7 | 1120 /(\x{23a}\x{23a}\x{23a})?\1/8i 1121 \x{23a}\x{23a}\x{23a}\x{2c65}\x{2c65} 1128 /(\x{23a}\x{23a}\x{23a})?\1/8i 1131 1: \x{23a}\x{23a}\x{23a} 1136 1: \x{23a}\x{23a}\x{23a} 1138 /(\x{23a}\x{23a}\x{23a})\1/8i 1146 /(\x{23a}\x{23a}\x{23a})\1/8i 1149 1: \x{23a}\x{23a}\x{23a} 1154 1: \x{23a}\x{23a}\x{23a} 1166 /(\x{23a}\x{23a}\x{23a})\1Y/8i [all …]
|
/PHP-5.5/ext/standard/tests/general_functions/ |
H A D | bug29038.phpt | 12 $a = 1; 13 $c = extract(array("a" => 1),EXTR_PREFIX_SAME,"prefix"); 19 $a = 1; 20 $c = extract(array("a" => 1),EXTR_PREFIX_ALL,"prefix"); 53 [a] => 1 60 [a] => 1
|
/PHP-5.5/ext/spl/tests/ |
H A D | heap_012.phpt | 5 $a = new SplMaxHeap; 6 $a->insert($a); 7 var_dump($a)
|
/PHP-5.5/ext/phar/tests/cache_list/files/ |
H A D | frontcontroller2.phar | 2 Phar::webPhar("whatever", "a.php"); 6 va.php�G��жa.jpg�G��жa.phps�…
|
/PHP-5.5/ext/phar/tests/files/ |
H A D | frontcontroller2.phar | 2 Phar::webPhar("whatever", "a.php"); 6 va.php�G��жa.jpg�G��жa.phps�…
|