/PHP-5.5/Zend/tests/ |
H A D | call_static_002.phpt | 7 public function __call($a, $b) { 9 var_dump($a); 11 static public function __callStatic($a, $b) { 13 var_dump($a); 17 $a = new Foo; 18 call_user_func(array($a, 'aAa'));
|
H A D | bug53958.phpt | 6 $a = 1; 7 $fn1 = function() use ($a) {echo "$a\n"; $a++;}; 8 $fn2 = function() use ($a) {echo "$a\n"; $a++;}; 9 $a = 5;
|
H A D | dereference_003.phpt | 10 public function a() { 19 $a = array(); 20 $b = &$a; 22 return $a; 31 var_dump($foo->a()[0]->x); 32 var_dump($foo->a()[0]); 33 var_dump($foo->b()[1][0]->a()[0]->x);
|
/PHP-5.5/tests/lang/operators/ |
H A D | bitwiseAnd_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' --- 265 string(16) "313233653578797a" 360 --- testing: '3.4a' & '0' --- 362 --- testing: '3.4a' & '65' --- 364 --- testing: '3.4a' & '-44' --- [all …]
|
H A D | add_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 | serialization_objects_005.phpt | 6 * Description: Returns a string representation of variable (which can later be unserialized) 11 * Description: Takes a string representation of variable and recreates it 93 …a method or access a property of an incomplete object. Please ensure that the class definition "C"… 96 …a method or access a property of an incomplete object. Please ensure that the class definition "C"… 98 …a method or access a property of an incomplete object. Please ensure that the class definition "C"… 101 …a method or access a property of an incomplete object. Please ensure that the class definition "C"… 104 …a method or access a property of an incomplete object. Please ensure that the class definition "C"… 107 …a method or access a property of an incomplete object. Please ensure that the class definition "C"… 110 …a method or access a property of an incomplete object. Please ensure that the class definition "C"… 112 …a method or access a property of an incomplete object. Please ensure that the class definition "C"… [all …]
|
/PHP-5.5/ext/mysqli/tests/ |
H A D | mysqli_fetch_array.phpt | 231 func_mysqli_fetch_array($link, $engine, "CHAR(1)", "a", "a", 540); 233 func_mysqli_fetch_array($link, $engine, "CHAR(1) NOT NULL", "a", "a", 560); 237 func_mysqli_fetch_array($link, $engine, "VARCHAR(1)", "a", "a", 580); 258 func_mysqli_fetch_array($link, $engine, "TINYTEXT", "a", "a", 750); 259 func_mysqli_fetch_array($link, $engine, "TINYTEXT NOT NULL", "a", "a", 760); 262 func_mysqli_fetch_array($link, $engine, "BLOB", "a", "a", 780, null, true); 266 func_mysqli_fetch_array($link, $engine, "TEXT", "a", "a", 800); 274 func_mysqli_fetch_array($link, $engine, "MEDIUMTEXT", "a", "a", 860); 282 func_mysqli_fetch_array($link, $engine, "ENUM('a', 'b')", "a", "a", 920); 285 func_mysqli_fetch_array($link, $engine, "SET('a', 'b')", "a", "a", 940); [all …]
|
/PHP-5.5/ext/phar/tests/ |
H A D | phar_buildfromiterator3.phpt | 12 var $a; 13 function __construct(array $a) 15 $this->a = $a; 19 return next($this->a); 23 return current($this->a); 27 return key($this->a); 31 return current($this->a); 35 return reset($this->a);
|
H A D | phar_oo_compressed_001.phpt | 16 $files['a'] = 'a'; 24 var_dump(file_get_contents($pname . '/a')); 25 var_dump($phar['a']->isCompressed()); 31 $phar['a'] = 'new a'; 32 $phar['a']->decompress(); 38 var_dump(file_get_contents($pname . '/a')); 39 var_dump($phar['a']->isCompressed()); 54 string(1) "a" 60 string(5) "new a"
|
H A D | phar_oo_compressed_001b.phpt | 16 $files['a'] = 'a'; 24 var_dump(file_get_contents($pname . '/a')); 25 var_dump($phar['a']->isCompressed()); 31 $phar['a'] = 'new a'; 32 $phar['a']->decompress(); 38 var_dump(file_get_contents($pname . '/a')); 39 var_dump($phar['a']->isCompressed()); 54 string(1) "a" 60 string(5) "new a"
|
/PHP-5.5/ext/phar/tests/zip/ |
H A D | phar_oo_compressallbz2.phpt | 16 $phar['a'] = 'a'; 20 var_dump(file_get_contents($pname . '/a')); 21 var_dump($phar['a']->isCompressed()); 28 var_dump(file_get_contents($pname . '/a')); 29 var_dump($phar['a']->isCompressed(Phar::GZ)); 40 var_dump(file_get_contents($pname2 . '/a')); 41 var_dump($c['a']->isCompressed(Phar::GZ)); 42 var_dump($c['a']->isCompressed(Phar::BZ2)); 52 string(1) "a" 58 string(1) "a" [all …]
|
/PHP-5.5/ext/pcre/pcrelib/testdata/ |
H A D | testinput11 | 17 /a#/IxMD 27 /^((a+)(?U)([ab]+)(?-U)([bc]+)(\w*))/BM 33 /(a(?1)b)/BM 35 /(a(?1)+b)/BM 39 /(?:a(?P<c>c(?P<d>d)))(?P<a>a)/BM 41 /(?P<a>a)...(?P=a)bbb(?P>a)d/BM 107 /[a]/BM 109 /[a]/8BM 115 /[^a]/BM 117 /[^a]/8BM [all …]
|
/PHP-5.5/tests/lang/ |
H A D | returnByReference.001.phpt | 2 Returning a reference from a function 11 $a = 7; 12 $b =& returnByRef($a); 14 $a++;
|
/PHP-5.5/ext/standard/tests/array/ |
H A D | array_map_variation6.phpt | 16 function callback($a) 18 return $a; 25 array('a', 'b'), 26 array(1, 2, 'a', 'b'), 27 array(1 => 'a', 'b' => 2) 49 string(1) "a" 60 string(1) "a" 67 string(1) "a"
|
H A D | array_intersect_uassoc_variation4.phpt | 6 …tes the intersection of arrays with additional index check, compares indexes by a callback function 13 $array1 = array("a" => "green", "b" => "brown", "c" => "blue", "red"); 14 $array2 = array("a" => "green", "yellow", "red"); 15 $array3 = array("a"=>"green", "brown"); 100 Warning: array_intersect_uassoc() expects parameter 3 to be a valid callback, no array or string gi… 103 Warning: array_intersect_uassoc() expects parameter 4 to be a valid callback, no array or string gi… 108 Warning: array_intersect_uassoc() expects parameter 3 to be a valid callback, no array or string gi… 111 Warning: array_intersect_uassoc() expects parameter 4 to be a valid callback, no array or string gi… 116 Warning: array_intersect_uassoc() expects parameter 3 to be a valid callback, no array or string gi… 119 Warning: array_intersect_uassoc() expects parameter 4 to be a valid callback, no array or string gi… [all …]
|
/PHP-5.5/ext/standard/tests/math/ |
H A D | floorceil.phpt | 5 $a = ceil (-0); $b = ceil (-1); $c = ceil (-1.5); 7 var_dump ($a, $b, $c, $d, $e); 9 $a = ceil (0); $b = ceil (0.5); $c = ceil (1); 11 var_dump ($a, $b, $c, $d, $e, $f); 13 $a = floor (-0); $b = floor (-0.5); $c = floor (-1); 15 var_dump ($a, $b, $c, $d, $e, $f); 17 $a = floor (0); $b = floor (0.5); $c = floor (1); 19 var_dump ($a, $b, $c, $d, $e, $f);
|
/PHP-5.5/tests/classes/ |
H A D | __call_004.phpt | 19 A::test1(1,'a'); 20 B::test2(1,'a'); 21 self::test3(1,'a'); 22 parent::test4(1,'a'); 30 In B::__call(test1, array(1,a)) 33 In B::__call(test2, array(1,a)) 36 In B::__call(test3, array(1,a)) 39 In B::__call(test4, array(1,a))
|
H A D | __call_005.phpt | 14 A::test1(1,'a'); 15 B::test2(1,'a'); 16 self::test3(1,'a'); 17 parent::test4(1,'a'); 26 In A::__call(test1, array(1,a)) 29 In A::__call(test2, array(1,a)) 32 In A::__call(test3, array(1,a)) 35 In A::__call(test4, array(1,a))
|
H A D | arrayobject_001.phpt | 6 $a = new ArrayObject; 7 $a['foo'] = 'bar'; 8 echo reset($a); 9 echo count($a); 10 echo current($a);
|
/PHP-5.5/ext/reflection/tests/ |
H A D | ReflectionProperty_setAccessible.phpt | 6 protected $protected = 'a'; 14 $a = new A; 57 var_dump($protected->getValue($a)); 59 var_dump($private->getValue($a)); 62 $protected->setValue($a, 'e'); 64 $private->setValue($a, 'g'); 67 var_dump($protected->getValue($a)); 69 var_dump($private->getValue($a)); 72 $a = new A; 123 string(1) "a" [all …]
|
/PHP-5.5/ext/mbstring/tests/ |
H A D | mb_ereg4.phpt | 11 $a = -1; $b = -1; $c = -1; 12 mbereg($a, $b, $c); 13 var_dump($a, $b, $c); 15 mberegi($a, $b, $c); 16 var_dump($a, $b, $c); 18 mbereg_search_init($a, $b, $c); 19 var_dump($a, $b, $c);
|
H A D | mb_ereg3.phpt | 11 $a = -1; $b = -1; $c = -1; 12 mbereg($a, $b, $c); 13 var_dump($a, $b, $c); 15 mberegi($a, $b, $c); 16 var_dump($a, $b, $c); 18 mbereg_search_init($a, $b, $c); 19 var_dump($a, $b, $c);
|
/PHP-5.5/ext/spl/tests/ |
H A D | bug41528.phpt | 7 public $a = 2; 11 $classOne->a = 1; 14 var_dump($classOne->a); 19 var_dump($classOne->a); 23 ["a"]=> 31 ["a"]=>
|
H A D | fixedarray_016.phpt | 5 $a = new SplFixedArray(2); 6 $a[0] = "foo"; 7 var_dump(empty($a[0]), empty($a[1]), $a);
|
H A D | fixedarray_017.phpt | 5 $a = new SplFixedArray(2); 6 $a[0] = "foo"; 7 var_dump(empty($a[0]), empty($a[1]), $a);
|