Home
last modified time | relevance | path

Searched refs:a (Results 251 – 275 of 6183) sorted by relevance

1...<<11121314151617181920>>...248

/PHP-5.5/Zend/tests/
H A Dclosure_026.phpt2 Closure 026: Assigning a closure object to an array in $this
8 $a =& $this;
10 $a->a[] = function() {
16 var_dump($this->a[0]());
32 ["a"]=>
43 string(1) "a"
49 ["a"]=>
H A Dbug30791.phpt12 class a
14 public $a = 4;
15 function __call($a,$b) {
20 $b = new a;
28 string(50) "Object of class a could not be converted to string"
30 string(50) "Object of class a could not be converted to string"
32 object(a)#2 (1) {
33 ["a"]=>
/PHP-5.5/tests/lang/
H A Dthis_assignment.phpt10 global $a,$b;
12 $a->me();
16 $a->me();
24 global $a,$b;
26 $a->me();
32 $a = new first();
33 $b = &$a;
35 $a->who();
H A DforeachLoop.003.phpt6 $a = TRUE;
7 foreach ($a as $v) {
11 $a = null;
12 foreach ($a as $v) {
16 $a = 1;
17 foreach ($a as $v) {
21 $a = 1.5;
22 foreach ($a as $v) {
26 $a = "hello";
27 foreach ($a as $v) {
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];
38 [a] => stdClass Object
H A Dbug24403.phpt5 class a
7 public $a = array();
9 function a()
12 '!\{\s*([a-z0-9_]+)\s*\}!sie',
13 "(in_array('\\1',\$this->a) ? '\'.\$p[\'\\1\'].\'' :
15 "{a} b {c}");
18 new a();
H A Dfunc_get_args.004.phpt23 $a = 'original.a';
24 valRef($a, $a);
25 var_dump($a);
35 string(10) "original.a"
36 string(10) "original.a"
39 string(10) "original.a"
41 string(10) "original.a"
45 string(10) "original.a"
/PHP-5.5/ext/phar/tests/
H A Drename_dir.phpt18 $files['a/x'] = 'a';
22 echo file_get_contents($pname . '/a/x') . "\n";
23 rename($pname . '/a', $pname . '/b');
25 echo file_get_contents($pname . '/a/x') . "\n";
30 a
31 a
33 …: file_get_contents(phar://%srename_dir.phar.php/a/x): failed to open stream: phar error: "a/x" is…
H A Dphar_extract.phpt13 $a = new Phar($fname);
14 $a['file1.txt'] = 'hi';
15 $a['file2.txt'] = 'hi2';
16 $a['subdir/ectory/file.txt'] = 'hi3';
18 $a->addEmptyDir('one/level');
51 $a->extractTo(array());
54 $a->extractTo('');
86 $a->extractTo(str_repeat('a', 20000), 'file1.txt');
91 $a[str_repeat('a', 20000)] = 'long';
94 $a->extractTo(dirname(__FILE__) . '/extract', str_repeat('a', 20000));
[all …]
H A Dphar_buildfromiterator5.phpt12 var $a;
13 function __construct(array $a)
15 $this->a = $a;
19 return next($this->a);
23 return current($this->a);
27 return key($this->a);
31 return current($this->a);
35 return reset($this->a);
41 var_dump($phar->buildFromIterator(new myIterator(array('a' => new stdClass))));
58 Iterator myIterator returned an invalid value (must return a string)
H A Drmdir.phpt17 $files['a/x'] = 'a';
21 echo file_get_contents($pname . '/a/x') . "\n";
22 var_dump(rmdir($pname . '/a'));
23 echo file_get_contents($pname . '/a/x') . "\n";
24 unlink($pname . '/a/x');
25 var_dump(rmdir($pname . '/a'));
30 a
34 a
/PHP-5.5/ext/phar/tests/zip/
H A Drename_dir.phpt18 $phar['a/x'] = 'a';
23 echo file_get_contents($alias . '/a/x') . "\n";
24 rename($alias . '/a', $alias . '/b');
26 echo file_get_contents($alias . '/a/x') . "\n";
31 a
32 a
34 …: file_get_contents(phar://%srename_dir.phar.zip/a/x): failed to open stream: phar error: "a/x" is…
H A Drename.phpt18 $phar['a'] = 'a';
23 echo file_get_contents($alias . '/a') . "\n";
24 rename($alias . '/a', $alias . '/b');
26 echo file_get_contents($alias . '/a') . "\n";
31 a
32 a
34 …arning: file_get_contents(phar://%srename.phar.zip/a): failed to open stream: phar error: "a" is n…
H A Dphar_buildfromiterator5.phpt12 var $a;
13 function __construct(array $a)
15 $this->a = $a;
19 return next($this->a);
23 return current($this->a);
27 return key($this->a);
31 return current($this->a);
35 return reset($this->a);
41 var_dump($phar->buildFromIterator(new myIterator(array('a' => new stdClass))));
58 Iterator myIterator returned an invalid value (must return a string)
/PHP-5.5/ext/pcre/pcrelib/testdata/
H A Dtestinput5178 a\nb
179 a\rb
191 a\nb
192 a\rb
201 a\nb
202 a\rb
213 a\nb
222 a\r
266 a\rb
267 a\nb
[all …]
/PHP-5.5/ext/standard/tests/array/
H A Dbug24897.phpt5 $a = array(1 => 2);
6 shuffle($a);
7 var_dump($a);
9 $a = array(1 => 2);
10 array_multisort($a);
11 var_dump($a);
H A Dbug20381.phpt5 $a = array(
9 'a' => array( 10, 20, 30 ),
17 'a' => array( 10, 40 )
21 var_dump($a);
22 array_merge_recursive( $a, $b );
23 var_dump($a);
40 ["a"]=>
67 ["a"]=>
/PHP-5.5/ext/imap/tests/
H A Dimap_fetchbody_variation3.phpt31 // get a class
116 %unicode|string%(%d) "1: this is a test message, please ignore%a"
144 1: this is a test message, please ignore%a"
151 1: this is a test message, please ignore%a"
154 %unicode|string%(%d) "1: this is a test message, please ignore%a"
161 1: this is a test message, please ignore%a"
171 1: this is a test message, please ignore%a"
178 1: this is a test message, please ignore%a"
185 1: this is a test message, please ignore%a"
209 1: this is a test message, please ignore%a"
[all …]
/PHP-5.5/ext/phar/tests/tar/
H A Dphar_buildfromiterator5.phpt12 var $a;
13 function __construct(array $a)
15 $this->a = $a;
19 return next($this->a);
23 return current($this->a);
27 return key($this->a);
31 return current($this->a);
35 return reset($this->a);
41 var_dump($phar->buildFromIterator(new myIterator(array('a' => new stdClass))));
58 Iterator myIterator returned an invalid value (must return a string)
/PHP-5.5/ext/ctype/tests/
H A Dctype_digit_variation2.phpt23 echo "character code $i is a numeric digit\n";
32 character code 48 is a numeric digit
33 character code 49 is a numeric digit
34 character code 50 is a numeric digit
35 character code 51 is a numeric digit
36 character code 52 is a numeric digit
37 character code 53 is a numeric digit
38 character code 54 is a numeric digit
39 character code 55 is a numeric digit
40 character code 56 is a numeric digit
[all …]
/PHP-5.5/ext/standard/tests/file/
H A Dstream_002.phpt6 $a = NULL;
8 var_dump(stream_socket_client("", $a, $b));
9 var_dump($a, $b);
10 var_dump(stream_socket_client("[", $a, $b));
11 var_dump($a, $b);
13 var_dump($a, $b);
14 var_dump(stream_socket_client(".", $a, $b));
15 var_dump($a, $b);
16 var_dump(stream_socket_client(1, $a, $b));
17 var_dump($a, $b);
[all …]
/PHP-5.5/ext/reflection/tests/
H A DReflectionClass_isSubclassOf_basic.phpt29 Is A a subclass of A?
32 Is A a subclass of B?
35 Is A a subclass of C?
38 Is A a subclass of I?
41 Is A a subclass of X?
44 Is B a subclass of A?
47 Is B a subclass of B?
50 Is B a subclass of C?
53 Is B a subclass of I?
56 Is B a subclass of X?
[all …]
/PHP-5.5/tests/classes/
H A Dinheritance.phpt9 public $a;
13 echo "a = ".$this->a."\n";
17 return $this->a*$this->b;
25 echo "a = ".$this->a."\n";
33 $foo1->a = 2;
41 $bar1->a = 4;
48 a = 2
53 a = 4
/PHP-5.5/ext/date/tests/
H A Dbug27719.phpt8 $a = mktime(0, 0, 0, 4, 4, 2004, 0);
11 echo "$a ".date("m/d/y h:i:s\n",$a);
16 $a = mktime(0, 0, 0, 2, 4, 2004, 0);
19 echo "$a ".date("m/d/y h:i:s\n",$a);
24 $a = mktime(0, 0, 0, 4, 4, 2004, 0);
27 echo "$a ".date("m/d/y h:i:s\n",$a);
32 $a = mktime(3, 0, 0, 4, 4, 2004, 0);
35 echo "$a ".date("m/d/y h:i:s\n",$a);
40 $a = mktime(0, 0, 0, 6, 4, 2004, 0);
43 echo "$a ".date("m/d/y h:i:s\n",$a);
H A Dbug34771.phpt9 '12a.m.', '1a.m.', '1p.m.',
11 '12:00a.m.', '1:00a.m.', '1:00p.m.'
24 12a.m. => 2005-12-22T00:00:00+0000
25 1a.m. => 2005-12-22T01:00:00+0000
30 12:00a.m. => 2005-12-22T00:00:00+0000
31 1:00a.m. => 2005-12-22T01:00:00+0000

Completed in 55 milliseconds

1...<<11121314151617181920>>...248