Home
last modified time | relevance | path

Searched refs:a (Results 151 – 175 of 6432) sorted by relevance

12345678910>>...258

/php-src/ext/session/tests/
H A Dbug74892.phpt17 <p><a href="index.php">Click This Anchor Tag!</a></p>
18 <p><a href="index.php#place">External link with anchor</a></p>
19 <p><a href="http://php.net#foo">External link with anchor 2</a></p>
20 <p><a href="#place">Internal link</a></p>
22 <p><a href="index.php?PHPSESSID=sessionidhere">Click This Anchor Tag!</a></p>
23 <p><a href="index.php?PHPSESSID=sessionidhere#place">External link with anchor</a></p>
24 <p><a href="http://php.net?PHPSESSID=sessionidhere#foo">External link with anchor 2</a></p>
25 <p><a href="#place">Internal link</a></p>
/php-src/ext/curl/tests/
H A Dbug72202.phpt8 $b = $a;
9 var_dump($a, $b);
10 fclose($a);
11 var_dump($a, $b);
12 unset($a, $b);
14 $a = curl_init();
15 $b = $a;
16 var_dump($a, $b);
17 curl_close($a);
18 var_dump($a, $b);
[all …]
/php-src/ext/spl/tests/
H A Dbug71028.phpt5 function cast(&$a) {
6 $a = (int)$a;
9 $a = new ArrayIterator;
10 $a[-1] = 123;
15 var_dump(isset($a[$b]));
16 $a[$b] = "okey";
17 var_dump($a[$b]);
18 unset($a[$b]);
19 var_dump(isset($a[$b]));
H A Dfixedarray_002.phpt31 $a = new A;
49 $a->setSize(10);
52 $a[0] = "value0";
53 $a[1] = "value1";
54 $a[2] = "value2";
55 $a[3] = "value3";
58 $a[4] = $ref;
61 unset($a[1]);
62 var_dump(isset($a[1]), isset($a[2]), empty($a[1]), empty($a[2]));
64 var_dump($a[0], $a[2], $a[3], $a[4]);
[all …]
H A DArrayObject_sort_different_backing_storage.phpt6 $obj = (object)['a' => 2, 'b' => 1];
8 $ao->uasort(function($a, $b) { return $a <=> $b; });
12 $ao2->uasort(function($a, $b) { return $b <=> $a; });
17 $ao3->a = 2;
19 $ao3->uasort(function($a, $b) { return $a <=> $b; });
23 $ao4->uasort(function($a, $b) { return $a <=> $b; });
27 $ao5->uasort(function($a, $b) { return $a <=> $b; });
37 ["a"]=>
46 ["a"]=>
60 ["a"]=>
[all …]
/php-src/Zend/tests/
H A Dbug63882_2.phpt9 $a[0] =& $a;
10 $a = unserialize(serialize($GLOBALS));
11 $a[0] =& $a;
12 $a = unserialize(serialize($GLOBALS));
13 $a[0] =& $a;
14 foreach($a as $v) {
16 arsort($a);
H A Dlist_keyed_evaluation_order_3.phpt7 $a = [
10 'a' => 'foo',
12 1 => 'a',
15 list($a[$i++] => $a[$i++], $a[$i++] => $a[$i++]) = $a[$i++];
17 var_dump($a[2]); // should be 'foo'
18 var_dump($a[4]); // should be 'bar'
H A Dobjects_025.phpt16 $a = new foo;
17 $a->foooo();
18 $a::foooo();
21 $a->$b();
22 $a::$b();
25 $a->$b();
26 $a::$b();
28 $b = str_repeat('a', 10000);
29 $a->$b();
30 $a::$b();
[all …]
H A Dbug37715.phpt5 $a = array(
6 'a' => array(
14 // Set the pointer of $a to 'b' and the pointer of 'b' to 'CC'
15 reset($a);
16 next($a);
17 next($a['b']);
18 next($a['b']);
19 next($a['b']);
21 var_dump(key($a['b']));
22 foreach($a as $k => $d)
[all …]
H A Dgc_047.phpt2 GC 047: Leak after GC inside a foreach loop
7 $a = [0, 1];
8 foreach($a as &$v) {
9 $a[0] =& $a;
10 $a[1] = array();
11 $a[1][0] =& $a[1];
13 $a =& $b;
H A Dconstants_007.phpt6 const a = 'a';
10 class a {
11 const a = 'c';
15 var_dump(a, A, a::a, a::A);
19 string(1) "a"
/php-src/ext/opcache/tests/jit/
H A Dreg_alloc_012.phpt9 function foo($a) {
10 $b = $a;
11 $b =! $a = $a + $b & $b & $bb = $a = $a + $b & $a;
12 $a = $a + $b & $b & $b = $a;
H A Dassign_dim_op_001.phpt12 $x = "a";
15 var_dump($a);
20 $a[2] += 1;
21 return $a;
24 $a[] += 1;
25 return $a;
29 return $a;
33 return $a;
37 return $a;
41 return $a;
[all …]
/php-src/sapi/phpdbg/tests/
H A Dwatch_005.phpt15 w r $a
25 >00003: $b = "a";
26 00004: $a = $b.$b;
27 00005: $c = &$a;
32 >00005: $c = &$a;
33 00006: $a[1] = "b";
38 >00006: $a[1] = "b";
52 $b = "a";
53 $a = $b.$b;
54 $c = &$a;
[all …]
H A Dwatch_003.phpt12 w $a[0]
21 >00006: $a[0] = 2;
23 00008: $a = [0 => 3, 1 => 4];
24 prompt> [Added watchpoint #0 for $a[0]]
25 prompt> [Breaking on watchpoint $a[0]]
28 >00008: $a = [0 => 3, 1 => 4];
30 prompt> [Breaking on watchpoint $a[0]]
40 $a = [];
42 $a[0] = 1;
43 $a[0] = 2;
[all …]
/php-src/Zend/tests/named_params/
H A Dcall_user_func.phpt6 $test = function($a = 'a', $b = 'b', $c = 'c') {
7 echo "a = $a, b = $b, c = $c\n";
16 echo "a = $a, b = $b\n";
20 public function __construct($a = 'a', $b = 'b', $c = 'c') {
22 echo "a = $a, b = $b, c = $c\n";
26 public function method($a = 'a', $b = 'b', $c = 'c') {
27 echo "a = $a, b = $b, c = $c\n";
72 a = A, b = b, c = C
73 a = A, b = b, c = C
74 a = a, b = b, c = C
[all …]
/php-src/ext/opcache/tests/opt/
H A Dinference_019.phpt10 $a = $y = null;
12 $e = $a-- + $a *= $a;
13 $a-- + $y -= $e;
14 $a-- + $a *= $a;
15 $a-- + $a *= $a;
/php-src/ext/phar/tests/zip/files/
H A Dmetadata.phar.inc3 $a = new Phar(dirname(__FILE__) . '/metadata.phar.zip');
4 $a['a'] = 'a';
5 $a['b'] = 'b';
6 $a['b']->setMetadata('hi there');
7 $a['c'] = 'c';
8 $a['c']->setMetadata(array('hi', 'there'));
9 $a['d'] = 'd';
10 $a['d']->setMetadata(array('hi'=>'there','foo'=>'bar'));
/php-src/ext/standard/tests/array/
H A Dbug21998.phpt6 $a = array("a", "b", "c");
8 var_dump(key($a));
9 var_dump(array_pop($a));
10 var_dump(key($a));
11 var_dump(array_pop($a));
12 var_dump(key($a));
13 var_dump(array_pop($a));
14 var_dump(key($a));
23 string(1) "a"
H A D007.phpt8 echo '$a='.var_export($a,TRUE).";\n";
13 $a = array(
14 'a'=>2,
30 'a'=>7,
44 echo '$a='.var_export($a,TRUE).";\n";
82 echo '$a='.var_export($a,TRUE).";\n";
99 echo '$a='.var_export($a,TRUE).";\n";
105 echo '$a='.var_export($a,TRUE).";\n";
111 echo '$a='.var_export($a,TRUE).";\n";
117 echo '$a='.var_export($a,TRUE).";\n";
[all …]
/php-src/ext/date/tests/
H A Ddate.phpt8 for($a = 0;$a < strlen($tmp); $a++){
9 echo $tmp[$a], ': ', date($tmp[$a], 1043324459)."\n";
14 for($a = 0;$a < strlen($tmp); $a++){
15 echo $tmp[$a], ': ', date($tmp[$a], 1043324459)."\n";
/php-src/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_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 …]
/php-src/ext/dom/tests/
H A Dbug76285.phpt12 $html = '<div><div><a>test</a></div><div><a>test2</a></div></div>';
20 string(56) "<div><div><a>test</a></div><div><a>test2</a></div></div>"
21 string(57) "<div><div><a>test</a></div><div><a>test2</a></div></div>
/php-src/ext/ffi/tests/
H A D009.phpt11 $a = $ffi->new("int[3]");
12 $a[1] = 10;
13 $a[2] = 20;
15 var_dump(FFI::memcmp($b, $a, FFI::sizeof($a)));
16 FFI::memcpy($b, $a, FFI::sizeof($a));
18 var_dump(FFI::memcmp($b, $a, FFI::sizeof($a)));
19 FFI::memset($a, -1, FFI::sizeof($a));
20 var_dump($a);

Completed in 210 milliseconds

12345678910>>...258