/PHP-8.3/ext/spl/tests/ |
H A D | observer_008.phpt | 11 $a = new A; 12 $a->attach($o1); 13 $a->attach($o2); 19 $a->addAll($b); 21 var_dump($a->count()); 23 $a->detach($o3); 24 var_dump($a->count()); 26 $a->removeAll($b); 27 var_dump($a->count());
|
H A D | dit_004.phpt | 11 $a = new DirectoryIterator($dir); 12 $b = clone $a; 13 var_dump((string)$b == (string)$a); 14 var_dump($a->key(), $b->key()); 15 $a->next(); 16 $a->next(); 17 $a->next(); 18 $c = clone $a; 19 var_dump((string)$c == (string)$a); 20 var_dump($a->key(), $c->key());
|
H A D | fixedarray_021.phpt | 7 $a = new SplFixedArray(); 9 var_dump(count($a)); 10 var_dump($a->count()); 35 var_dump(count($a)); 36 var_dump($a->count()); 37 var_dump($a); 55 $a["2"] = "foo"; 56 $a["1"] = "foo"; 57 $a["3"] = "0"; 59 var_dump(isset($a["0"], $a[-1]), $a["1"]); [all …]
|
/PHP-8.3/ext/pcre/tests/ |
H A D | bug61780_2.phpt | 26 'a' => NULL, 38 'a' => 68 'a' => 122 'a' => 220 'a' => NULL, 228 'a' => NULL, 236 'a' => '4', 259 'a' => 287 'a' => 315 'a' => [all …]
|
/PHP-8.3/Zend/tests/ |
H A D | closure_020.phpt | 8 public $a; 11 $a = &$this; 12 $this->a = function() use (&$a) { return $a; }; 13 var_dump($this->a->__invoke()); 14 var_dump(is_a($this->a, 'closure')); 15 var_dump(is_callable($this->a)); 17 return $this->a; 30 ["a"]=> 34 ["a"]=>
|
H A D | bug79934.phpt | 8 // lines with only CRLF should not cause a parse error 9 eval("\$s1 = <<<HEREDOC\r\n a\r\n\r\n b\r\n HEREDOC;"); 12 // lines with only a LF should not cause a parse error 13 eval("\$s2 = <<<HEREDOC\n a\n\n b\n HEREDOC;"); 16 // lines with only a CR should not cause a parse error 17 eval("\$s3 = <<<HEREDOC\r a\r\r b\r HEREDOC;"); 20 // lines with only whitespace should not cause a parse error 26 string(10) "a\r\n\r\nb" 27 string(6) "a\n\nb" 28 string(6) "a\r\rb" [all …]
|
H A D | bug70805_2.phpt | 12 public $a; 17 if (isset($GLOBALS["a"])) { 18 unset($GLOBALS["a"]); 23 $a = new A; 24 $a->b = new B; 25 $a->b->a = $a; 38 unset($a);
|
H A D | assign_coalesce_007.phpt | 2 Assign coalesce: "$a[0] ??= $a" should evaluate the right $a first 5 $a[0] ??= $a; 6 var_dump($a); 9 Warning: Undefined variable $a in %sassign_coalesce_007.php on line 2
|
H A D | gc_020.phpt | 7 $a = array(); 8 $a[0] =& $a; 9 $a[1] = array(); 10 $a[1][0] =& $a[1]; 11 $a = 1;
|
/PHP-8.3/ext/standard/tests/file/ |
H A D | fgetcsv_variation12.phpt | 28 "a+", "a+b", "a+t"); 48 // write another line of text and a blank line 50 // working when only a blank line is read 123 -- Testing fgetcsv() with file opened using a+ mode -- 128 -- Testing fgetcsv() with file opened using a+b mode -- 133 -- Testing fgetcsv() with file opened using a+t mode -- 168 -- Testing fgetcsv() with file opened using a+ mode -- 173 -- Testing fgetcsv() with file opened using a+b mode -- 178 -- Testing fgetcsv() with file opened using a+t mode -- 213 -- Testing fgetcsv() with file opened using a+ mode -- [all …]
|
/PHP-8.3/ext/standard/tests/general_functions/ |
H A D | bug44394_2.phpt | 8 session.trans_sid_tags="a=href,area=href,frame=src,form=" 9 url_rewriter.tags="a=href,area=href,frame=src,form=" 19 $string = "<a href='a?q=1'>asd</a>"; 21 output_add_rewrite_var('a', 'b'); 37 <a href='a?q=1&a=b&PHPSESSID=%s'>asd</a>
|
H A D | phpcredits.phpt | 19 %a 22 %a 25 %a 28 %a 31 %a 34 %a 37 %a 40 %a 49 %a
|
/PHP-8.3/sapi/phpdbg/tests/ |
H A D | gh15210_001.phpt | 12 w $a[0] 18 $a = [0]; 19 $a[0] = 1; 25 >00004: $a[0] = 1; 28 prompt> [Added watchpoint #0 for $a[0]] 29 prompt> [Breaking on watchpoint $a[0]] 30 Old value: [Breaking on watchpoint $a[0]] 34 00003: $a = [0]; 35 00004: $a[0] = 1; 36 prompt> [$a[0] has been removed, removing watchpoint]
|
/PHP-8.3/ext/reflection/tests/ |
H A D | 008.phpt | 6 $a = array("", 1, "::", "a::", "::b", "a::b"); 8 foreach ($a as $val) { 22 $a = array("", 1, ""); 25 foreach ($a as $key=>$val) { 36 string(90) "ReflectionMethod::__construct(): Argument #1 ($objectOrMethod) must be a valid method n… 37 string(91) "ReflectionMethod::createFromMethodName(): Argument #1 ($method) must be a valid method … 38 string(90) "ReflectionMethod::__construct(): Argument #1 ($objectOrMethod) must be a valid method n… 42 string(24) "Class "a" does not exist" 43 string(24) "Class "a" does not exist" 46 string(24) "Class "a" does not exist" [all …]
|
/PHP-8.3/ext/opcache/tests/jit/ |
H A D | fetch_obj_004.phpt | 14 var $a = 0; 18 $x->a = 1; 19 unset($x->a); 20 $x->a = 3; 25 $x->a = 1; 27 unset($x->a); 28 $x->a = 3; 36 ["a"]=> 40 ["a"]=>
|
H A D | reg_alloc_007.phpt | 12 $a = $a + $a = $a + !$a = $a; 13 $aZ = $a; 14 @$aZ %= $a; 20 Warning: Undefined variable $a in %sreg_alloc_007.php on line 4
|
/PHP-8.3/ext/phar/tests/tar/files/ |
H A D | frontcontroller9.phar.inc | 3 $a = new Phar(dirname(__FILE__) . '/frontcontroller9.phar.tar'); 4 $a['a.phps'] = 'hio1'; 5 $a['a.jpg'] = 'hio2'; 6 $a['a.php'] = '<?php function hio(){}'; 7 $a['fronk.gronk'] = 'hio3'; 8 $a->setStub('<?php
|
/PHP-8.3/ext/phar/tests/zip/files/ |
H A D | frontcontroller9.phar.inc | 3 $a = new Phar(dirname(__FILE__) . '/frontcontroller9.phar.zip'); 4 $a['a.phps'] = 'hio1'; 5 $a['a.jpg'] = 'hio2'; 6 $a['a.php'] = '<?php function hio(){}'; 7 $a['fronk.gronk'] = 'hio3'; 8 $a->setStub('<?php
|
/PHP-8.3/Zend/tests/varSyntax/ |
H A D | issetOnTemp.phpt | 10 var_dump(isset(((object) ['a' => 'b'])->a)); 11 var_dump(isset(['a' => 'b']->a)); 12 var_dump(isset("str"->a)); 13 var_dump(isset((['a' => 'b'] + [])->a)); 14 var_dump(isset((['a' => 'b'] + [])->a->b));
|
/PHP-8.3/tests/lang/ |
H A D | 017.phpt | 5 $a = 1; 6 function Test ($a) { 7 if ($a<3) { 12 if ($a < Test($a)) { 13 echo "$a\n"; 14 $a++;
|
/PHP-8.3/ext/standard/tests/strings/ |
H A D | explode.phpt | 31 var_dump(explode("a", "")); 32 var_dump(explode("a", "a")); 33 var_dump(explode("a", NULL)); 35 var_dump(explode(NULL, "a")); 42 var_dump(explode("a", "aaaaaa")); 56 0 => 'a', 157 string(10) "a lazy dog" 165 string(10) "a lazy dog" 171 string(10) "a lazy dog" 179 string(10) "a lazy dog" [all …]
|
/PHP-8.3/ext/phar/tests/cache_list/files/ |
H A D | frontcontroller5.phar.inc | 3 $a = new Phar(dirname(__FILE__) . '/frontcontroller5.phar'); 4 $a['a.php'] = 'hio'; 5 $a['a.jpg'] = 'hio'; 6 $a['a.phps'] = '<?php function hio(){}'; 7 $a->setStub('<?php
|
H A D | frontcontroller6.phar.inc | 3 $a = new Phar(dirname(__FILE__) . '/frontcontroller6.phar'); 4 $a['a.php'] = 'hio'; 5 $a['a.jpg'] = 'hio'; 6 $a['a.phps'] = '<?php function hio(){}'; 7 $a->setStub('<?php
|
H A D | frontcontroller7.phar.inc | 3 $a = new Phar(dirname(__FILE__) . '/frontcontroller7.phar'); 4 $a['a.php'] = 'hio'; 5 $a['a.jpg'] = 'hio'; 6 $a['a.phps'] = '<?php function hio(){}'; 7 $a->setStub('<?php
|
/PHP-8.3/ext/phar/tests/files/ |
H A D | frontcontroller5.phar.inc | 3 $a = new Phar(dirname(__FILE__) . '/frontcontroller5.phar'); 4 $a['a.php'] = 'hio'; 5 $a['a.jpg'] = 'hio'; 6 $a['a.phps'] = '<?php function hio(){}'; 7 $a->setStub('<?php
|