Home
last modified time | relevance | path

Searched refs:a (Results 226 – 250 of 6607) sorted by relevance

12345678910>>...265

/PHP-8.3/tests/lang/
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.011.phpt2 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-8.3/ext/spl/tests/
H A DSplFixedArray_override_getIterator.phpt19 $a = new SplFixedArray(3);
20 $a[0] = "a";
21 $a[1] = "b";
22 $a[2] = "c";
23 foreach ($a as $k => $v) {
28 $a = new A(3);
29 $a[0] = "d";
30 $a[1] = "e";
31 $a[2] = "f";
32 foreach ($a as $k => $v) {
[all …]
H A Dfixedarray_008.phpt7 $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());
/PHP-8.3/Zend/tests/array_unpack/
H A Dunpack_string_keys_compile_time.phpt6 var_dump([...['a' => 'b']]);
7 var_dump(['a' => 'X', ...['a' => 'b']]);
8 var_dump([...['a' => 'b'], 'a' => 'X']);
13 ["a"]=>
17 ["a"]=>
21 ["a"]=>
/PHP-8.3/Zend/tests/
H A Dobjects_034.phpt19 $GLOBALS['a'] = null;
22 $a = new A;
23 $a[$c] = 'x' ;
24 var_dump($a);
26 $a = new A;
27 $a[$c] .= 'x' ;
28 var_dump($a);
30 $a = new A;
31 $a[$c][$c] = 'x' ;
32 var_dump($a);
H A Dgc_015.phpt7 $a = new stdClass();
8 $c =& $a;
9 $b = $a;
10 $a->a = $a;
11 $a->b = "xxx";
13 unset($a);
H A D025.phpt7 static public function a() {
12 $a = 'a';
13 $b = 'a';
17 foo::a();
18 foo::$a();
21 $class::a();
22 $class::$a();
H A Dbug71030.phpt7 $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 Dgc_011.phpt8 public $a;
13 $a = new Foo();
14 $a->a = $a;
15 var_dump($a);
16 unset($a);
22 ["a"]=>
/PHP-8.3/ext/phar/tests/cache_list/files/
H A Dfrontcontroller3.phar2 function s($a)
4 static $b = array("/hi" => "a.phps");
5 if (isset($b[$a])) return $b[$a];
6 return $a;
12 …�����������a.php���nWX�����ж���������a.jpg���nWX�����ж���������a.phps���nWX���l�`�…
H A Dfrontcontroller9.phar.inc3 $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-8.3/ext/standard/tests/serialize/
H A Dbug28325.phpt5 class a {
14 $a = new a();
15 $a->b = new b();
16 $a->b->c = new c();
17 $a->b->c->d = $a;
18 var_dump(unserialize(serialize($a)));
21 object(a)#%d (1) {
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:{}}"
/PHP-8.3/ext/opcache/tests/jit/
H A Dadd_010.phpt12 function foo($a) {
13 var_dump($a+$a=$a+$a=$a+$a=$a);
/PHP-8.3/ext/reflection/tests/
H A DReflectionProperty_isInitialized.phpt26 $a = new A;
27 var_dump((new ReflectionProperty($a, 'iv'))->isInitialized($a));
28 var_dump((new ReflectionProperty($a, 'i'))->isInitialized($a));
29 var_dump((new ReflectionProperty($a, 'n'))->isInitialized($a));
32 unset($a->iv);
33 unset($a->i);
34 unset($a->n);
35 var_dump((new ReflectionProperty($a, 'i'))->isInitialized($a));
37 var_dump((new ReflectionProperty($a, 'n'))->isInitialized($a));
40 $a->d = null;
[all …]
/PHP-8.3/Zend/tests/type_declarations/
H A Dscalar_constant_defaults.phpt8 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 Dtyped_properties_063.phpt6 $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 Dtyped_properties_064.phpt6 $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-8.3/ext/session/tests/
H A Dbug26862.phpt11 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-8.3/ext/simplexml/tests/
H A Dbug44478.phpt8 $xml_element->node1 = 'a &#38; b';
10 $xml_element->node1 = 'a &#38; b';
12 $xml_element->addChild('node2','a &#38; b');
14 $xml_element->node2 = 'a & b';
21 a &#38; b
22 a &#38; b
23 a & b
24 a & b
26 <root><node1>a &amp;#38; b</node1><node2>a &amp; b</node2></root>
/PHP-8.3/ext/phar/tests/
H A Dphar_buildfromiterator9.phpt12 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-8.3/ext/phar/tests/files/
H A Dfrontcontroller9.phar.inc3 $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-8.3/ext/phar/tests/tar/files/
H A Dfrontcontroller8.phar.inc3 $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
/PHP-8.3/ext/phar/tests/zip/files/
H A Dfrontcontroller8.phar.inc3 $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

Completed in 294 milliseconds

12345678910>>...265