Home
last modified time | relevance | path

Searched refs:a (Results 176 – 200 of 6022) sorted by relevance

12345678910>>...241

/PHP-8.0/ext/opcache/tests/jit/
H A Dassign_049.phpt11 function &a($i) {
12 $a = "str". $i;
13 return $a;
17 public $a;
19 $this->a = a(1);
23 $a = new A;
24 $a->test();
25 $a->test();
H A Dfetch_obj_003.phpt13 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-8.0/ext/standard/tests/file/
H A Dfputcsv_variation13.phpt30 "a+", "a+b", "a+t",
96 -- file opened in a+ --
102 -- file opened in a+b --
108 -- file opened in a+t --
168 -- file opened in a+ --
174 -- file opened in a+b --
180 -- file opened in a+t --
240 -- file opened in a+ --
312 -- file opened in a+ --
384 -- file opened in a+ --
[all …]
H A Dfputcsv_variation2.phpt29 "a+", "a+b", "a+t",
95 -- file opened in a+ --
101 -- file opened in a+b --
107 -- file opened in a+t --
167 -- file opened in a+ --
173 -- file opened in a+b --
179 -- file opened in a+t --
239 -- file opened in a+ --
311 -- file opened in a+ --
383 -- file opened in a+ --
[all …]
H A Dfputcsv_variation9.phpt29 "a+", "a+b", "a+t",
95 -- file opened in a+ --
101 -- file opened in a+b --
107 -- file opened in a+t --
167 -- file opened in a+ --
173 -- file opened in a+b --
179 -- file opened in a+t --
239 -- file opened in a+ --
311 -- file opened in a+ --
383 -- file opened in a+ --
[all …]
H A Dfputcsv_variation3.phpt29 "a+", "a+b", "a+t",
95 -- file opened in a+ --
101 -- file opened in a+b --
107 -- file opened in a+t --
167 -- file opened in a+ --
173 -- file opened in a+b --
179 -- file opened in a+t --
239 -- file opened in a+ --
311 -- file opened in a+ --
383 -- file opened in a+ --
[all …]
H A Dfputcsv_variation4.phpt29 "a+", "a+b", "a+t",
95 -- file opened in a+ --
101 -- file opened in a+b --
107 -- file opened in a+t --
167 -- file opened in a+ --
173 -- file opened in a+b --
179 -- file opened in a+t --
239 -- file opened in a+ --
311 -- file opened in a+ --
383 -- file opened in a+ --
[all …]
/PHP-8.0/ext/phar/tests/
H A Dfopen.phpt12 fclose($a);
15 $a = new Phar($fname);
16 $a['index.php'] = '<?php
18 echo fread($a, 2);
19 fclose($a);
21 echo fread($a, 2);
22 fclose($a);
25 $a['dir/file1.txt'] = 'hi';
26 $a['dir/file2.txt'] = 'hi2';
27 $a['dir/file3.txt'] = 'hi3';
[all …]
/PHP-8.0/ext/standard/tests/array/
H A Dbug25708.phpt24 debug_zval_dump($a, $b, $GLOBALS['a'], $GLOBALS['b']);
27 $a = &$GLOBALS['a'];
32 debug_zval_dump($a, $b, $GLOBALS['a'], $GLOBALS['b']);
34 $a = &$GLOBALS['a'];
36 debug_zval_dump($a, $b, $GLOBALS['a'], $GLOBALS['b']);
39 debug_zval_dump($a, $b, $GLOBALS['a'], $GLOBALS['b']);
41 $a = 4;
42 debug_zval_dump($a, $b, $GLOBALS['a'], $GLOBALS['b']);
57 $a = 'ok';
59 $_a = $a;
[all …]
/PHP-8.0/Zend/tests/
H A Dgc_023.phpt7 $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
H A Dobjects_034.phpt17 $GLOBALS['a'] = null;
20 $a = new A;
21 $a[$c] = 'x' ;
22 var_dump($a);
24 $a = new A;
25 $a[$c] .= 'x' ;
26 var_dump($a);
28 $a = new A;
29 $a[$c][$c] = 'x' ;
30 var_dump($a);
H A Dforeach_009.phpt5 $a = [0, 1, 2, 3, 4, 5, 6, 7];
6 unset($a[0], $a[1], $a[2], $a[3]);
7 foreach ($a as &$ref) {
8 foreach ($a as &$ref2) {
11 $a[42] = 8;
H A Dbug74836.phpt5 $s = "1234567890a";
6 $a[10] = "42";
13 var_dump($a["10"], isset($a["10"]));
14 var_dump($a["010"], isset($a["010"]));
15 var_dump($a[$i], isset($a[$i]));
18 string(1) "a"
20 string(1) "a"
22 string(1) "a"
/PHP-8.0/ext/phar/tests/tar/files/
H A Dfrontcontroller.phar.inc3 $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-8.0/ext/phar/tests/zip/files/
H A Dfrontcontroller.phar.inc3 $a = new Phar(dirname(__FILE__) . '/frontcontroller.phar.zip');
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-8.0/ext/opcache/tests/
H A Dbug78015.phpt13 $d = $a['b'] + $a['c'];
19 $a = ['b' => [$x]];
20 $d = !$a['b'];
26 $a = ['b' => [$x]];
27 $d = (int) $a['b'];
33 $a = ['b' => [$x]];
34 $d = $a['b'] ?: 42;
40 $a = ['b' => [$x]];
47 $a = ['b' => [$x]];
49 $d = "$a[b]{$b}bar";
[all …]
/PHP-8.0/ext/opcache/tests/opt/
H A Dsccp_006.phpt14 $a = ["a"=>1,"a"=>2,"a"=>$x];
15 echo $a["a"];
30 0001 T2 = INIT_ARRAY 3 int(1) string("a")
31 0002 T2 = ADD_ARRAY_ELEMENT int(2) string("a")
32 0003 T2 = ADD_ARRAY_ELEMENT CV0($x) string("a")
33 0004 CV1($a) = QM_ASSIGN T2
34 0005 T2 = FETCH_DIM_R CV1($a) string("a")
/PHP-8.0/sapi/phpdbg/tests/
H A Dwatch_003.phpt15 w $a[0]
24 >00006: $a[0] = 2;
26 00008: $a = [0 => 3, 1 => 4];
27 prompt> [Added watchpoint #0 for $a[0]]
28 prompt> [Breaking on watchpoint $a[0]]
31 >00008: $a = [0 => 3, 1 => 4];
33 prompt> [Breaking on watchpoint $a[0]]
43 $a = [];
45 $a[0] = 1;
46 $a[0] = 2;
[all …]
/PHP-8.0/tests/lang/
H A Dengine_assignExecutionOrder_007.phpt5 $a[2][3] = 'stdClass';
6 $a[$i=0][++$i] = new $a[++$i][++$i];
7 print_r($a);
10 $o->a = new $a[$i=2][++$i];
11 $o->a->b = new $a[$i=2][++$i];
33 [a] => stdClass Object
H A DforeachLoop.005.phpt5 $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 …]
H A Dfunc_get_arg.005.phpt7 global $a;
8 $a = 'changed.a';
13 $a = "original.a";
14 $ref =& $a;
15 refVal($a);
18 string(10) "original.a"
19 string(10) "original.a"
H A DforeachLoop.002.phpt8 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 …]
/PHP-8.0/Zend/tests/list/
H A Dlist_reference_007.phpt8 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-8.0/ext/standard/tests/serialize/
H A Dserialization_arrays_001.phpt10 $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" ];
30a: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 Dbug73154.phpt5 class a {
6 public $a;
8 $this->a=null;
12 $s = 'a:1:{i:0;O:1:"a":1:{s:1:"a";R:2;}}';
16 string(22) "a:1:{i:0;O:1:"a":0:{}}"

Completed in 80 milliseconds

12345678910>>...241