Home
last modified time | relevance | path

Searched refs:a (Results 676 – 700 of 6311) sorted by relevance

1...<<21222324252627282930>>...253

/PHP-5.5/Zend/tests/
H A Dclosure_040.phpt22 $a = new A(20);
24 $ca = $a->getIncrementor();
25 $cas = $a->getStaticIncrementor();
27 $ca->bindTo($a, array());
29 $ca->bindTo($a, array(), "");
31 $cas->bindTo($a, 'A');
45 Warning: Cannot bind an instance to a static closure in %s on line %d
H A Dbug34893.phpt23 $a = new A;
25 $a->p = $b;
28 echo $a->p->t;
29 $a->p->t = "bar";
30 echo $a->p->t;
H A Dbug40809.phpt14 $a = Array();
16 $a[$i] = Array(1);
19 $b[$i] = $a[$i][0];
21 unset($a);
26 $evil .= str_repeat("a", $increment);
H A Dbug38808.phpt9 $a =& $b;
11 echo $current($a)."\n";
12 $next($a);
13 echo $current($a)."\n";
H A Derrmsg_042.phpt2 errmsg: key element cannot be a reference
6 $a = array(1,2,3);
7 foreach ($a as &$k=>$v) {
13 Fatal error: Key element cannot be a reference in %s on line %d
H A Dbug61761.phpt2 Bug #61761 ('Overriding' a private static method with a different signature causes crash)
8 private static function test($a) { }
13 private static function test($a, $b) { }
/PHP-5.5/tests/classes/
H A D__set__get_001.phpt9 public $x = array('a' => 1, 'b' => 2, 'c' => 3);
43 $foo->a = 100;
44 $foo->a++;
50 Setting [a] to 100
52 Getting [a]
54 Setting [a] to 101
65 ["a"]=>
/PHP-5.5/tests/lang/
H A Dengine_assignExecutionOrder_006.phpt36 $a = array(array(0));
40 $a[i1()][i2()] = ($b[i3()][i4()] = $c[i5()][i6()]);
41 var_dump($a);
45 $a[i1()][i2()] = $b[i3()][i4()] = -$c[i5()][i6()];
46 var_dump($a);
50 $a[i1()][i2()] = -($b[i3()][i4()] = +($c[i5()][i6()]));
51 var_dump($a);
H A Dstatic_variation_001.phpt6 static $a = array(7,8,9);
9 static $a = array(1,2,3);
12 static $a = array(4,5,6);
13 var_dump($a);
16 var_dump($a);
22 var_dump($a);
/PHP-5.5/ext/phar/tests/
H A D027.phpt17 $files['a.php'] = '<?php echo "This is a\n"; require \''.$pname.'/b.php\'; ?>';
46 $a = opendir($pname);
49 var_dump(fseek($a, 0, SEEK_END), ftell($a));
50 var_dump(fseek($a, -1), ftell($a));
51 var_dump(fseek($a, 1), ftell($a));
53 var_dump(fwrite($a, 'hi'));
54 var_dump(fstat($a));
55 closedir($a);
65 string(6) "/a.php"
90 …y in "phar://", must have at least phar:/// for root directory (always use full path to a new phar)
H A D027U.phpt17 $files['a.php'] = '<?php echo "This is a\n"; require \''.$pname.'/b.php\'; ?>';
46 $a = opendir($pname);
49 var_dump(fseek($a, 0, SEEK_END), ftell($a));
50 var_dump(fseek($a, -1), ftell($a));
51 var_dump(fseek($a, 1), ftell($a));
53 var_dump(fwrite($a, b'hi'));
54 var_dump(fstat($a));
55 closedir($a);
65 unicode(6) "/a.php"
90 …y in "phar://", must have at least phar:/// for root directory (always use full path to a new phar)
H A Dpharfileinfo_chmod.phpt14 $phar['a/b'] = 'hi there';
16 $b = $phar['a/b'];
18 $phar['a']->chmod(066);
23 lstat($pname . '/a/b'); // sets BG(CurrentLStatFile)
30 Phar entry "a" is a temporary directory (not an actual entry in the archive), cannot chmod
H A Dphar_magic.phpt12 $p['a'] = '<?php include "b/c.php";' . "\n";
13 $p['b/c.php'] = '<?php echo "in b\n";$a = fopen("a", "r", true);echo stream_get_contents($a);fclose…
20 include "phar://" . __FILE__ . "/a";
/PHP-5.5/ext/standard/tests/file/
H A Dfwrite_variation3-win32.phpt2 Test fwrite() function : usage variations - a, ab, at, a+, a+b & a+t mode
26 Test fwrite with file opened in mode : a,ab,at,a+,a+b,a+
30 $file_modes = array("a","ab","at","a+","a+b","a+t");
86 -- Opening file in a --
122 -- Opening file in a+ --
134 -- Opening file in a+b --
160 -- Opening file in a --
196 -- Opening file in a+ --
234 -- Opening file in a --
270 -- Opening file in a+ --
[all …]
H A Dfwrite_variation3.phpt2 Test fwrite() function : usage variations - a, ab, at, a+, a+b & a+t modes
26 Test fwrite with file opened in mode : a,ab,at,a+,a+b,a+t
30 $file_modes = array("a","ab","at","a+","a+b","a+t");
87 -- Opening file in a --
123 -- Opening file in a+ --
135 -- Opening file in a+b --
161 -- Opening file in a --
197 -- Opening file in a+ --
235 -- Opening file in a --
271 -- Opening file in a+ --
[all …]
H A Ddisk_free_space_variation.phpt7 * Description: Given a string containing a directory, this function
14 echo "*** Testing with a directory ***\n";
31 /* Testing a file trailing slash */
67 *** Testing with a directory ***
109 Warning: disk_free_space() expects parameter 1 to be a valid path, string given in %s on line %d
112 Warning: diskfreespace() expects parameter 1 to be a valid path, string given in %s on line %d
117 Warning: disk_free_space() expects parameter 1 to be a valid path, string given in %s on line %d
120 Warning: diskfreespace() expects parameter 1 to be a valid path, string given in %s on line %d
125 Warning: disk_free_space() expects parameter 1 to be a valid path, string given in %s on line %d
128 Warning: diskfreespace() expects parameter 1 to be a valid path, string given in %s on line %d
[all …]
/PHP-5.5/ext/standard/tests/strings/
H A Dbug46578.phpt2 Bug #46578 (strip_tags() does not honor end-of-comment when it encounters a single quote)
8 var_dump(strip_tags('<a alt="foobar">foo<!-- foo! --></a>bar'));
10 var_dump(strip_tags('<a alt="foobar"/>foo<?= foo! /* <!-- "cool" --> */ ?>bar'));
14 var_dump(strip_tags('<! a>'));
/PHP-5.5/ext/standard/tests/array/
H A Darray_diff_assoc.phpt5 $array1 = array("a" => "green", "b" => "brown", "c" => "blue", "red", "");
6 $array2 = array("a" => "green", "yellow", "red", TRUE);
7 $array3 = array("red", "a"=>"brown", "");
27 [a] => green
34 [a] => green
H A Darray_search.phpt1 --TEST--
2 Test array_search()/in_array()
3 --FILE--
4 <?php
5
6 $arr1 = array('a','b','c');
7 $arr2 = array();
8 $arr3 = array('c','key'=>'d');
9 $arr4 = array("a\0b"=>'e','key'=>'d', 'f');
10
[all …]
/PHP-5.5/Zend/tests/traits/
H A Dbug60217b.phpt7 public abstract function foo($a);
11 public abstract function foo($a, $b = 0);
17 public function foo($a) {
26 Fatal error: Declaration of TBroken2::foo($a, $b = 0) must be compatible with TBroken1::foo($a) in …
/PHP-5.5/ext/pcre/pcrelib/testdata/
H A Dtestoutput71120 /(\x{23a}\x{23a}\x{23a})?\1/8i
1121 \x{23a}\x{23a}\x{23a}\x{2c65}\x{2c65}
1128 /(\x{23a}\x{23a}\x{23a})?\1/8i
1131 1: \x{23a}\x{23a}\x{23a}
1136 1: \x{23a}\x{23a}\x{23a}
1138 /(\x{23a}\x{23a}\x{23a})\1/8i
1146 /(\x{23a}\x{23a}\x{23a})\1/8i
1149 1: \x{23a}\x{23a}\x{23a}
1154 1: \x{23a}\x{23a}\x{23a}
1166 /(\x{23a}\x{23a}\x{23a})\1Y/8i
[all …]
/PHP-5.5/ext/standard/tests/general_functions/
H A Dbug29038.phpt12 $a = 1;
13 $c = extract(array("a" => 1),EXTR_PREFIX_SAME,"prefix");
19 $a = 1;
20 $c = extract(array("a" => 1),EXTR_PREFIX_ALL,"prefix");
53 [a] => 1
60 [a] => 1
/PHP-5.5/ext/spl/tests/
H A Dheap_012.phpt5 $a = new SplMaxHeap;
6 $a->insert($a);
7 var_dump($a)
/PHP-5.5/ext/phar/tests/cache_list/files/
H A Dfrontcontroller2.phar2 Phar::webPhar("whatever", "a.php");
6 v���������������������a.php����G�����ж���������a.jpg����G�����ж���������a.phps����…
/PHP-5.5/ext/phar/tests/files/
H A Dfrontcontroller2.phar2 Phar::webPhar("whatever", "a.php");
6 v���������������������a.php����G�����ж���������a.jpg����G�����ж���������a.phps����…

Completed in 68 milliseconds

1...<<21222324252627282930>>...253