/php-src/ext/phar/tests/cache_list/files/ |
H A D | frontcontroller2.phar.inc | 3 $a = new Phar(dirname(__FILE__) . '/frontcontroller2.phar'); 4 $a['a.php'] = 'hio'; 5 $a['a.jpg'] = 'hio'; 6 $a['a.phps'] = '<?php function hio(){}'; 7 $a->setStub('<?php 8 Phar::webPhar("whatever", "a.php");
|
H A D | frontcontroller.phar.inc | 3 $a = new Phar(dirname(__FILE__) . '/frontcontroller.phar'); 4 $a['a.php'] = 'hio'; 5 $a['a.jpg'] = 'hio'; 6 $a['a.phps'] = '<?php function hio(){}'; 7 $a['index.php'] = 'here is my index'; 8 $a->setStub('<?php
|
/php-src/ext/phar/tests/files/ |
H A D | frontcontroller2.phar.inc | 3 $a = new Phar(dirname(__FILE__) . '/frontcontroller2.phar'); 4 $a['a.php'] = 'hio'; 5 $a['a.jpg'] = 'hio'; 6 $a['a.phps'] = '<?php function hio(){}'; 7 $a->setStub('<?php 8 Phar::webPhar("whatever", "a.php");
|
H A D | frontcontroller.phar.inc | 3 $a = new Phar(dirname(__FILE__) . '/frontcontroller.phar'); 4 $a['a.php'] = 'hio'; 5 $a['a.jpg'] = 'hio'; 6 $a['a.phps'] = '<?php function hio(){}'; 7 $a['index.php'] = 'here is my index'; 8 $a->setStub('<?php
|
/php-src/ext/spl/tests/ |
H A D | dit_005.phpt | 6 $a = new FileSystemIterator(__DIR__ . '/..'); 7 $b = clone $a; 8 var_dump((string)$b == (string)$a); 9 var_dump($a->key() == $b->key()); 10 $a->next(); 11 $a->next(); 12 $a->next(); 13 $c = clone $a; 14 var_dump((string)$c == (string)$a); 15 var_dump($a->key() == $c->key());
|
H A D | dllist_007.phpt | 5 $a = new SplDoublyLinkedList(); 6 $a->push(1); 7 $a->push(2); 8 $a->push(3); 10 $a->rewind(); 11 while ($a->valid()) { 12 var_dump($a->current(), $a->next());
|
/php-src/Zend/tests/ |
H A D | constant_expressions_arrays.phpt | 5 const a = [1,2,[3,[4]]]; 6 const b = a[0]; 7 const c = a[2][0]; 8 const d = a[2]; 13 function test ($a = d[1][0]) { 14 var_dump($a); 25 var_dump(a, a[0], a[2], a[2][1], a[3]);
|
H A D | closure_009.phpt | 5 $a = 1; 6 $x = function ($x) use ($a) { 9 $a = $n.':'.$a; 10 echo $x.':'.$a."\n"; 12 $y = function ($x) use (&$a) { 15 $a = $n.':'.$a; 16 echo $x.':'.$a."\n";
|
H A D | bug70805.phpt | 10 public $a; 15 if (isset($GLOBALS["a"])) { 17 … unset($GLOBALS["a"]); // this will be called in gc_colloct_roots and put $a into gc roots buf 22 $a = new A; 23 $a->b = new B; 24 $a->b->a = $a; 29 $array = array($c); //This is used to leave a room for $GLOBALS["a"] 41 $e = $a; 42 unset($a); // This one cannot be put into roots buf because it's full, thus gc_colloct_roots will b… 43 // but C::__destructor which is called in gc_colloct_roots will put $a into buf [all …]
|
H A D | gc_023.phpt | 7 $a=array(); 9 $a[$i] = array(array()); 10 $a[$i][0] = & $a[$i]; 13 unset($a); 15 $a=array(); 17 $a[$i] = array(array()); 18 $a[$i][0] = & $a[$i]; 21 unset($a); // 10000 zvals collected automatic
|
/php-src/tests/lang/ |
H A D | foreachLoop.002.phpt | 8 foreach ($a as $k=>$v) { 12 var_dump($a); 19 var_dump($a); 27 var_dump($a); 32 foreach ($a as $v) { 41 var_dump($a); 55 var_dump($a); 60 array_pop($a); 63 var_dump($a); 68 array_pop($a); [all …]
|
H A D | foreachLoop.005.phpt | 5 $a = array("original.0","original.1","original.2"); 6 foreach ($a as $k=>&$v){ 7 $a[$k] = "changed.$k"; 11 //After changing $a directly, $v@0 is: changed.0 12 //After changing $a directly, $v@1 is: changed.1 13 //After changing $a directly, $v@2 is: changed.2 15 //After changing $a directly, $v@0 is: changed.0 16 //After changing $a directly, $v@1 is: original.1 21 After changing $a directly, $v@0 is: changed.0 22 After changing $a directly, $v@1 is: changed.1 [all …]
|
/php-src/ext/dba/tests/ |
H A D | dba_inifile_creation_matrix.phpt | 59 This is a test insert 61 This is a test insert 63 This is a test insert 65 This is a test insert 67 This is a test insert 69 This is a test insert 71 This is a test insert 73 This is a test insert 92 This is a test insert 94 This is a test insert [all …]
|
/php-src/ext/phar/tests/tar/files/ |
H A D | frontcontroller2.phar.inc | 3 $a = new Phar(dirname(__FILE__) . '/frontcontroller2.phar.tar'); 4 $a['a.php'] = 'hio'; 5 $a['a.jpg'] = 'hio'; 6 $a['a.phps'] = '<?php function hio(){}'; 7 $a->setStub('<?php 8 Phar::webPhar("whatever", "a.php");
|
H A D | frontcontroller.phar.inc | 3 $a = new Phar(dirname(__FILE__) . '/frontcontroller.phar.tar'); 4 $a['a.php'] = 'hio'; 5 $a['a.jpg'] = 'hio'; 6 $a['a.phps'] = '<?php function hio(){}'; 7 $a['index.php'] = 'here is my index'; 8 $a->setStub('<?php
|
/php-src/ext/phar/tests/zip/files/ |
H A D | frontcontroller2.phar.inc | 3 $a = new Phar(dirname(__FILE__) . '/frontcontroller2.phar.zip'); 4 $a['a.php'] = 'hio'; 5 $a['a.jpg'] = 'hio'; 6 $a['a.phps'] = '<?php function hio(){}'; 7 $a->setStub('<?php 8 Phar::webPhar("whatever", "a.php");
|
/php-src/ext/opcache/tests/jit/ |
H A D | assign_049.phpt | 10 function &a($i) { 11 $a = "str". $i; 12 return $a; 16 public $a; 18 $this->a = a(1); 22 $a = new A; 23 $a->test(); 24 $a->test();
|
H A D | fetch_obj_003.phpt | 13 var $a = 0; 17 $x->a = 1; 18 unset($x->a); 19 $x->a += 2; 24 $x->a = 1; 26 unset($x->a); 27 $x->a += 2; 34 Warning: Undefined property: C::$a in %s on line %d 36 ["a"]=> 40 Warning: Undefined property: C::$a in %s on line %d [all …]
|
/php-src/ext/standard/tests/serialize/ |
H A D | serialization_arrays_001.phpt | 10 $arr_circ = array(0, 1, -2, 3.333333, "a", array(), &$arr_circ); 17 $arr_asso = array("a" => "test"); 18 $arr_asso[ "b" ] = &$arr_asso[ "a" ]; 30 …a:7:{i:0;i:0;i:1;i:1;i:2;i:-2;i:3;d:3.333333000000000101437080957111902534961700439453125;i:4;s:1:… 41 string(1) "a" 56 string(1) "a" 67 ["a"]=> 72 string(37) "a:2:{s:1:"a";s:4:"test";s:1:"b";R:2;}" 74 ["a"]=>
|
H A D | serialization_arrays_005.phpt | 6 var_dump($a); 27 $a = array(); 30 $a[1] = 1; 36 $a[0] = 1; 50 $a[0] = 1; 51 $a[1] = 1; 52 $c = array(1,&$a[0],&$a); 57 $a[0] = 1; 58 $a[1] = 1; 59 $c = array(&$a[0],&$a[1],&$a); [all …]
|
/php-src/ext/phar/tests/ |
H A D | test_signaturealgos.phpt | 15 $a = new Phar(__DIR__ . '/files/sha1.phar'); 16 $r = $a->getSignature(); 18 $a = new Phar(__DIR__ . '/files/sha512.phar'); 19 $r = $a->getSignature(); 21 $a = new Phar(__DIR__ . '/files/sha256.phar'); 22 $r = $a->getSignature(); 24 $a = new Phar(__DIR__ . '/files/md5.phar'); 25 $r = $a->getSignature(); 28 $r = $a->getSignature(); 31 $r = $a->getSignature(); [all …]
|
/php-src/Zend/tests/list/ |
H A D | list_reference_007.phpt | 8 function __construct(array $a) { $this->s = $a; } 15 $a = new StorageRef([1, 2]); 16 list(&$one, $two) = $a; 17 var_dump($a); 19 $a = new StorageRef([1, 2]); 20 list(,,list($var)) = $a; 21 var_dump($a); 23 $a = new StorageRef([1, 2]); 24 list(,,list(&$var)) = $a; 25 var_dump($a); [all …]
|
/php-src/sapi/phpdbg/tests/ |
H A D | watch_004.phpt | 14 w $a 23 >00003: $b = "a"; 24 00004: $a = $b.$b; 25 00005: $a[1] = "b"; 26 prompt> [Added watchpoint #0 for $a] 27 prompt> [Breaking on watchpoint $a] 30 >00005: $a[1] = "b"; 32 prompt> [Breaking on watchpoint $a] 42 $b = "a"; 43 $a = $b.$b; [all …]
|
/php-src/ext/exif/tests/ |
H A D | bug68799.phpt | 11 public $a; 13 $a = 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAa'; 14 $this->a = $a . $a . $a . $a . $a . $a; 20 $a = new A; 24 $b[$i] = clone $a; 27 unset($a);
|
/php-src/ext/opcache/tests/opt/ |
H A D | sccp_006.phpt | 15 $a = ["a"=>1,"a"=>2,"a"=>$x]; 16 echo $a["a"]; 31 0001 T2 = INIT_ARRAY 3 int(1) string("a") 32 0002 T2 = ADD_ARRAY_ELEMENT int(2) string("a") 33 0003 T2 = ADD_ARRAY_ELEMENT CV0($x) string("a") 34 0004 CV1($a) = QM_ASSIGN T2 35 0005 T2 = FETCH_DIM_R CV1($a) string("a")
|