/php-src/Zend/tests/type_declarations/ |
H A D | scalar_constant_defaults.phpt | 8 const STRING_VAL = "this is a test"; 15 return $a; 19 return $a; 23 return $a; 27 return $a; 31 return $a; 35 return $a; 39 return $a; 43 return $a; 91 string(14) "this is a test" [all …]
|
H A D | typed_properties_063.phpt | 6 $a = new class { 10 $_ = &$a->foo; 13 var_dump($a->foo); 16 var_dump($a->foo); 21 var_dump($a->foo); 24 var_dump($a->foo); 27 var_dump($a->foo); 29 $a->foo = PHP_INT_MIN; 41 $a->foo = PHP_INT_MAX; 57 var_dump($a->foo); [all …]
|
H A D | typed_properties_064.phpt | 6 $a = new class { 10 $_ = [&$a->foo]; 13 var_dump($a->foo); 16 var_dump($a->foo); 21 var_dump($a->foo); 24 var_dump($a->foo); 27 var_dump($a->foo); 29 $a->foo = PHP_INT_MIN; 41 $a->foo = PHP_INT_MAX; 57 var_dump($a->foo); [all …]
|
/php-src/tests/lang/ |
H A D | foreachLoop.011.phpt | 2 Changing from an interable type to a non iterable type during the iteration 6 $a = array(1,2,3); 7 $b=&$a; 8 foreach ($a as $v) { 14 $a = new stdClass; 15 $a->a=1; 16 $a->b=2; 17 $b=&$a; 18 foreach ($a as $v) {
|
/php-src/ext/session/tests/ |
H A D | bug26862.phpt | 11 session.trans_sid_tags="a=href,area=href,frame=src,form=" 12 url_rewriter.tags="a=href,area=href,frame=src,form=" 18 echo '<a href="file.php">link</a>'; 23 echo '<a href="file.php">link</a>'; 26 <a href="file.php?var=value">link</a><a href="file.php">link</a>
|
/php-src/ext/simplexml/tests/ |
H A D | bug44478.phpt | 8 $xml_element->node1 = 'a & b'; 10 $xml_element->node1 = 'a & b'; 12 $xml_element->addChild('node2','a & b'); 14 $xml_element->node2 = 'a & b'; 21 a & b 22 a & b 23 a & b 24 a & b 26 <root><node1>a &#38; b</node1><node2>a & b</node2></root>
|
/php-src/ext/phar/tests/ |
H A D | phar_buildfromiterator9.phpt | 12 var $a; 13 function __construct(array $a) 15 $this->a = $a; 19 next($this->a); 23 return current($this->a); 27 return key($this->a); 31 return (bool) current($this->a); 35 reset($this->a); 41 …var_dump($phar->buildFromIterator(new myIterator(array('a' => $a = fopen(basename(__FILE__, 'php')… 42 fclose($a); [all …]
|
/php-src/ext/spl/tests/ |
H A D | fixedarray_008.phpt | 7 $a = new SplFixedArray($b); 9 $a[0] = 1; 10 $a[1] = 2; 11 $a[2] = $a; 13 $a[2][0] = 3; 15 foreach ($a as $x) { 23 var_dump($a->getSize());
|
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-src/Zend/tests/ |
H A D | bug71030.phpt | 7 $a = [1, 2]; 8 $c =& $a; 9 list($c, $b) = $a; 10 var_dump($a, $b); 14 $a = [1, 2]; 15 $_a = "a"; 16 list($$_a, $b) = $a; 17 var_dump($a, $b);
|
H A D | gc_011.phpt | 8 public $a; 13 $a = new Foo(); 14 $a->a = $a; 15 var_dump($a); 16 unset($a); 22 ["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 …]
|
/php-src/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-src/ext/phar/tests/tar/files/ |
H A D | frontcontroller8.phar.inc | 3 $a = new Phar(dirname(__FILE__) . '/frontcontroller8.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
|
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-src/ext/phar/tests/zip/files/ |
H A D | frontcontroller8.phar.inc | 3 $a = new Phar(dirname(__FILE__) . '/frontcontroller8.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
|
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-src/ext/phar/tests/cache_list/files/ |
H A D | frontcontroller9.phar.inc | 3 $a = new Phar(dirname(__FILE__) . '/frontcontroller9.phar'); 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-src/ext/phar/tests/files/ |
H A D | frontcontroller9.phar.inc | 3 $a = new Phar(dirname(__FILE__) . '/frontcontroller9.phar'); 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-src/ext/opcache/tests/jit/ |
H A D | fetch_obj_004.phpt | 13 var $a = 0; 17 $x->a = 1; 18 unset($x->a); 19 $x->a = 3; 24 $x->a = 1; 26 unset($x->a); 27 $x->a = 3; 35 ["a"]=> 39 ["a"]=>
|
H A D | reg_alloc_007.phpt | 11 $a = $a + $a = $a + !$a = $a; 12 $aZ = $a; 13 @$aZ %= $a; 19 Warning: Undefined variable $a in %sreg_alloc_007.php on line 4
|
/php-src/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-src/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>
|