Home
last modified time | relevance | path

Searched refs:a (Results 76 – 100 of 5543) sorted by relevance

12345678910>>...222

/PHP-5.5/ext/standard/tests/serialize/
H A Dserialization_arrays_003.phpt35 $a[1] = 1;
36 $a[2] = 1;
37 check($a);
42 $a[0] = 1;
44 $a[2] = 1;
45 check($a);
50 $a[0] = 1;
51 $a[1] = 1;
53 check($a);
60 $a[2] = 1;
[all …]
H A D001.phpt11 $this->a = "hallo";
17 public $a;
70 $a = array("a" => "test");
71 $a[ "b" ] = &$a[ "a" ];
72 var_dump($a);
76 var_dump($a);
96 ["a"]=>
103 ["a"]=>
111 ["a"]=>
116 a:2:{s:1:"a";s:4:"test";s:1:"b";R:2;}
[all …]
/PHP-5.5/tests/lang/
H A D019.phpt17 hey, this is a regular echo'd eval()
18 hey, this is a function inside an eval()!
19 hey, this is a regular echo'd eval()
21 hey, this is a regular echo'd eval()
23 hey, this is a regular echo'd eval()
25 hey, this is a regular echo'd eval()
27 hey, this is a regular echo'd eval()
29 hey, this is a regular echo'd eval()
31 hey, this is a regular echo'd eval()
33 hey, this is a regular echo'd eval()
[all …]
/PHP-5.5/ext/pcre/pcrelib/testdata/
H A Dtestinput8346 /^(a*\w|ab)=(a*\w|ab)/
755 /^[a-zA-Z\d][a-zA-Z\d\-]*(\.[a-zA-Z\d][a-zA-z\d\-]*)*\.$/
765 /^\*\.[a-z]([a-z\-\d]*[a-z\d]+)?(\.[a-z]([a-z\-\d]*[a-z\d]+)?)*$/
888 /^From +([^ ]+) +[a-zA-Z][a-zA-Z][a-zA-Z] +[a-zA-Z][a-zA-Z][a-zA-Z] +[0-9]?[0-9] +[0-9][0-9]:[0-9][…
2334 /a[^a]b/
2343 /a[^a]b/s
3699 /(?(?!a)a|b)/
3701 /(?(?!a)b|a)/
3704 /(?(?=a)b|a)/
3709 /(?(?=a)a|b)/
[all …]
H A Dtestoutput4827 a\x{256}a
1049 a\x{c0}a\x{c0}aaa/
1050 0: a\x{c0}a\x{c0}aa
1051 1: a\x{c0}a\x{c0}
1057 a\x{c0}a\x{c0}aaa/
1058 0: a\x{c0}a\x{c0}aaa
1059 1: a\x{c0}a\x{c0}a
1066 0: a\x{c0}a\x{c0}
1086 /a(*:a\x{1234}b)/8K
1091 /a(*:a£b)/8K
[all …]
H A Dtestinput47 /a.b/8
9 a\x7fb
12 a\nb
475 a\x{256}a
601 a\x{c0}a\x{c0}aaa/
605 a\x{c0}a\x{c0}aaa/
607 /^([a\x{c0}]*)a\x{c0}/8
609 a\x{c0}a\x{c0}aaa/
620 /a(*:a\x{1234}b)/8K
623 /a(*:a£b)/8K
[all …]
/PHP-5.5/ext/spl/tests/
H A Dfixedarray_002.phpt28 $a = new A;
46 $a->setSize(10);
49 $a[0] = "value0";
50 $a[1] = "value1";
51 $a[2] = "value2";
52 $a[3] = "value3";
55 $a[4] = $ref;
58 unset($a[1]);
59 var_dump(isset($a[1]), isset($a[2]), empty($a[1]), empty($a[2]));
61 var_dump($a[0], $a[2], $a[3], $a[4]);
[all …]
H A Dbug36941.phpt6 $a = new ArrayObject();
7 $a[] = 1;
9 $b = clone $a;
11 var_dump($a[0], $b[0]);
13 var_dump($a[0], $b[0]);
15 var_dump($a[0], $b[0]);
20 $a[] = 1;
22 $b = clone $a;
24 var_dump($a[0], $b[0]);
26 var_dump($a[0], $b[0]);
[all …]
H A Dfixedarray_003.phpt31 $a[0] = "a";
32 $a[1] = "c";
33 $a[2] = "d";
34 $a[3] = "e";
35 $a[4] = "f";
41 $a[0] = "a";
42 $a[1] = "c";
43 $a[2] = "d";
44 $a[3] = "e";
53 0 => a
[all …]
/PHP-5.5/ext/phar/tests/files/
H A Dfrontcontroller4.phar.inc3 $a = new Phar(dirname(__FILE__) . '/frontcontroller4.phar');
4 $a['a.php'] = 'hio';
5 $a['a.jpg'] = 'hio';
6 $a['a.phps'] = '<?php function hio(){}';
7 $a->setStub('<?php
8 function s($a)
11 if (isset($b[$a])) return $b[$a];
12 return $a;
/PHP-5.5/ext/phar/tests/cache_list/files/
H A Dfrontcontroller4.phar.inc3 $a = new Phar(dirname(__FILE__) . '/frontcontroller4.phar');
4 $a['a.php'] = 'hio';
5 $a['a.jpg'] = 'hio';
6 $a['a.phps'] = '<?php function hio(){}';
7 $a->setStub('<?php
8 function s($a)
11 if (isset($b[$a])) return $b[$a];
12 return $a;
/PHP-5.5/Zend/tests/
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 Dcall_static_007.phpt6 class a {
7 public function __call($a, $b) {
8 print "__call: ". $a ."\n";
10 static public function __callStatic($a, $b) {
11 print "__callstatic: ". $a ."\n";
19 $a = new a;
22 $a::$b();
23 $a->$b();
25 $a->baz();
27 a::Foo();
H A Dbug35163_3.phpt5 $a = new stdClass;
6 $a->b = array(1);
7 $a->b[] =& $a->b;
8 $a->b[] =& $a->b;
9 $a->b[0] = 2;
10 var_dump($a);
11 $a->b = null;
12 $a = null;
H A Dgc_009.phpt7 $a = array();
8 $a[0] = new stdClass();
9 $a[0]->a = array();
10 $a[0]->a[0] =& $a[0];
11 var_dump($a[0]);
13 unset($a);
19 ["a"]=>
H A Dgc_016.phpt8 public $a;
11 $a = array();
12 $a[] =& $a;
13 unset($a);
17 $a = new Foo();
18 $a->a = $a;
19 unset($a);
H A Dbug35163.phpt5 $a = array(array(1));
6 $a[0][] =& $a[0];
7 $a[0][] =& $a[0];
8 $a[0][0] = 2;
9 var_dump($a);
10 $a[0] = null;
11 $a = null;
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 …]
/PHP-5.5/ext/phar/tests/tar/files/
H A Dfrontcontroller4.phar.inc3 $a = new Phar(dirname(__FILE__) . '/frontcontroller4.phar.tar');
4 $a['a.php'] = 'hio';
5 $a['a.jpg'] = 'hio';
6 $a['a.phps'] = '<?php function hio(){}';
7 $a->setStub('<?php
8 function s($a)
11 if (isset($b[$a])) return $b[$a];
12 return $a;
/PHP-5.5/ext/phar/tests/zip/files/
H A Dfrontcontroller4.phar.inc3 $a = new Phar(dirname(__FILE__) . '/frontcontroller4.phar.zip');
4 $a['a.php'] = 'hio';
5 $a['a.jpg'] = 'hio';
6 $a['a.phps'] = '<?php function hio(){}';
7 $a->setStub('<?php
8 function s($a)
11 if (isset($b[$a])) return $b[$a];
12 return $a;
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-5.5/ext/standard/
H A Dstrnatcmp.c54 for(;; (*a)++, (*b)++) { in compare_right()
55 if ((*a == aend || !isdigit((int)(unsigned char)**a)) && in compare_right()
58 else if (*a == aend || !isdigit((int)(unsigned char)**a)) in compare_right()
62 else if (**a < **b) { in compare_right()
65 } else if (**a > **b) { in compare_right()
82 for(;; (*a)++, (*b)++) { in compare_left()
83 if ((*a == aend || !isdigit((int)(unsigned char)**a)) && in compare_left()
86 else if (*a == aend || !isdigit((int)(unsigned char)**a)) in compare_left()
90 else if (**a < **b) in compare_left()
92 else if (**a > **b) in compare_left()
[all …]
/PHP-5.5/ext/standard/tests/strings/
H A D004.phpt5 function stats($f, $a) {
8 ksort($a);
9 foreach($a as $k => $v)
12 $a = array();
18 if (empty($a[$s])) $a[$s] = 0;
19 $a[$s]++;
22 stats('shuffle', $a);
23 $a = array();
28 if (empty($a[$s])) $a[$s] = 0;
29 $a[$s]++;
[all …]
/PHP-5.5/ext/standard/tests/array/
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-5.5/ext/phar/tests/
H A D033a.phpt12 $file = b'<?php include "' . $pname . '/a.php"; __HALT_COMPILER(); ?>';
15 $files['a.php'] = '<?php echo "This is a\n"; include "'.$pname.'/b.php"; ?>';
18 $a = new Phar($fname);
19 var_dump($a['a.php']->isExecutable());
20 $a['a.php']->chmod(0777);
21 var_dump($a['a.php']->isExecutable());
22 $a['a.php']->chmod(0666);
23 var_dump($a['a.php']->isExecutable());
35 Cannot modify permissions for file "a.php" in phar "%s033a.1.phar.php", write operations are prohib…

Completed in 148 milliseconds

12345678910>>...222