Home
last modified time | relevance | path

Searched refs:a (Results 901 – 925 of 6311) sorted by relevance

1...<<31323334353637383940>>...253

/PHP-5.5/tests/lang/
H A DforeachLoop.014.phpt12 $a[] = "v.$i";
16 $ref = &$a;
19 var_dump($a);
22 foreach ($a as $k=>$v) {
33 var_dump($a);
314 ** Stuck in a loop! **
352 ** Stuck in a loop! **
394 ** Stuck in a loop! **
453 ** Stuck in a loop! **
491 ** Stuck in a loop! **
[all …]
H A DforeachLoop.015.phpt12 $a[] = "v.$i";
16 $ref = &$a;
19 var_dump($a);
22 foreach ($a as $k=>&$v) {
33 var_dump($a);
315 ** Stuck in a loop! **
353 ** Stuck in a loop! **
395 ** Stuck in a loop! **
454 ** Stuck in a loop! **
492 ** Stuck in a loop! **
[all …]
H A D005.phpt5 $a=1;
7 if($a==0) {
9 } elseif($a==3) {
H A D010.phpt2 Testing function parameter passing with a return value
9 $a = test(1);
10 echo $a;
/PHP-5.5/ext/pcre/tests/
H A Dpreg_match_basic.phpt9 $string = 'Hello, world. [*], this is \ a string';
14 var_dump(preg_match('/\[\*\],\s(.*)/', $string, $match3)); //finds "[*], this is \ a string";
16 …(?:\s.*)@', $string, $match4, PREG_OFFSET_CAPTURE, 14)); //finds "this is \ a string" (with non-ca…
35 string(23) "[*], this is \ a string"
37 string(18) "this is \ a string"
44 string(18) "this is \ a string"
/PHP-5.5/ext/phar/tests/zip/
H A Dphar_magicU.phpt17 $p['a'] = '<?php include "b/c.php";' . "\n";
18 $p['b/c.php'] = '<?php echo "in b\n";$a = fopen("a", "r", true);echo stream_get_contents($a);fclose…
24 include "phar://" . __FILE__ . "/a";
/PHP-5.5/ext/standard/tests/array/
H A Dcompact_variation1.phpt6 * Description: Creates a hash containing variables and their values
14 $a = 1;
18 $arr1 = array("a", &$arr1);
19 $arr2 = array("a", array(array(array("b"))));
33 ["a"]=>
45 ["a"]=>
H A Darray_multisort_natural.phpt13 $a = array(
22 '2 a',
29 array_multisort($b, SORT_NATURAL, $a);
31 var_dump($a, $b);
53 string(3) "2 a"
H A Darray_uintersect_assoc_basic.phpt14 static function comp_func_cr($a, $b) {
15 if ($a->priv_member === $b->priv_member) return 0;
16 return ($a->priv_member > $b->priv_member) ? 1 : -1;
19 $a = array("0.1" => new cr(9), "0.5" => new cr(12), 0 => new cr(23), 1 => new cr(4), 2 => new cr(-1…
21 $result = array_uintersect_assoc($a, $b, array("cr", "comp_func_cr"));
H A Dcompact_variation2.phpt6 * Description: Creates a hash containing variables and their values
12 $a = 'main.a';
18 var_dump(compact('a','b','c'));
19 var_dump(compact(array('a','b','c')));
H A Darray_reduce_variation3.phpt6 * Description: Iteratively reduce the array to a single value via the callback.
14 static function adder($a, $b) {return $a + $b;}
15 public function adder2($a, $b) {return $a + $b;}
H A Darray_udiff_basic.phpt14 static function comp_func_cr($a, $b) {
15 if ($a->priv_member === $b->priv_member) return 0;
16 return ($a->priv_member > $b->priv_member) ? 1 : -1;
19 $a = array("0.1" => new cr(9), "0.5" => new cr(12), 0 => new cr(23), 1 => new cr(4), 2 => new cr(-1…
21 $result = array_udiff($a, $b, array("cr", "comp_func_cr"));
H A Dbug24766.phpt8 $a = unpack('C2', "\0224V");
10 debug_zval_dump($a, $b);
11 $k = array_keys($a);
15 var_dump($a[$i]);
/PHP-5.5/ext/standard/tests/serialize/
H A Dserialization_miscTypes_001.phpt14 * Description: Returns a string representation of variable (which can later be unserialized)
19 * Description: Takes a string representation of variable and recreates it
31 $arr_var = array(0, 1, -2, 3.333333, "a", array(), array(NULL));
67 "a",
161 after serialization => string(6) "a:0:{}"
166 after serialization => string(57) "a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:12345666;i:4;i:-2344;}"
181a:16:{i:0;i:0;i:1;i:1;i:2;i:2;i:3;d:3.3330000000000002;i:4;i:-4;i:5;d:-5.5549999999999997;i:6;b:1;…
228 after serialization => string(94) "a:7:{i:0;i:0;i:1;i:1;i:2;i:-2;i:3;d:3.3333330000000001;i:4;s:1:"
239 string(1) "a"
275 after serialization => string(8) "s:1:"a";"
[all …]
/PHP-5.5/ext/standard/tests/file/
H A Dfnmatch_variation.phpt76 /* defining a common function */
187 Warning: fnmatch() expects parameter 1 to be a valid path, string given in %s on line %d
191 Warning: fnmatch() expects parameter 1 to be a valid path, string given in %s on line %d
267 Warning: fnmatch() expects parameter 2 to be a valid path, string given in %s on line %d
271 Warning: fnmatch() expects parameter 2 to be a valid path, string given in %s on line %d
277 Warning: fnmatch() expects parameter 1 to be a valid path, string given in %s on line %d
280 Warning: fnmatch() expects parameter 1 to be a valid path, string given in %s on line %d
283 Warning: fnmatch() expects parameter 1 to be a valid path, string given in %s on line %d
286 Warning: fnmatch() expects parameter 1 to be a valid path, string given in %s on line %d
289 Warning: fnmatch() expects parameter 1 to be a valid path, string given in %s on line %d
[all …]
/PHP-5.5/ext/soap/tests/
H A Dclassmap003.phpt11 function __construct($a){
12 $this->x = $a;
18 function __construct($a){
19 parent::__construct($a);
20 $this->y = $a + 1;
/PHP-5.5/ext/phar/tests/
H A D016b.phpt16 $files['a'] = array('cont'=>'a','flags'=>0x00001000, 'clen' => 1);
19 echo file_get_contents($pname . '/a');
24 …et_contents(phar://%s/a): failed to open stream: phar error: internal corruption of phar "%s" (act…
/PHP-5.5/ext/spl/tests/
H A Dbug61347.phpt5 $a = array('b' => NULL, 37 => NULL);
6 var_dump(isset($a['b'])); //false
8 $b = new ArrayObject($a);
18 $a = array('b' => '', 37 => false);
19 $b = new ArrayObject($a);
H A Dheap_011.phpt6 public function compare($a, $b) {
7 return -parent::compare($a,$b);
18 public function compare($a, $b) {
19 return -parent::compare($a,$b);
/PHP-5.5/ext/standard/tests/strings/
H A Dsha1.phpt7 $a = array(
10 "a",
15 foreach ($a as $str) {
47 string(20) "%a"
48 string(20) "%a"
/PHP-5.5/Zend/tests/
H A Dbug52041.phpt9 foo()->a = 1;
10 foo()->a->b = 2;
11 foo()->a++;
12 foo()->a->b++;
13 foo()->a += 2;
14 foo()->a->b += 2;
38 Notice: Undefined property: stdClass::$a in %sbug52041.php on line 8
42 Notice: Undefined property: stdClass::$a in %sbug52041.php on line 9
52 Notice: Undefined property: stdClass::$a in %sbug52041.php on line 10
56 Notice: Undefined property: stdClass::$a in %sbug52041.php on line 11
/PHP-5.5/ext/standard/tests/general_functions/
H A Dbug36011.phpt31 $a = new TestClass();
32 $a->whee();
33 $a->whee4();
34 $a->whee5();
/PHP-5.5/ext/session/tests/
H A Dbug41600.phpt23 <a href="link.php?a=b">
28 <a href="link.php?a=b&amp;PHPSESSID=abtest">
/PHP-5.5/ext/simplexml/tests/
H A DSimpleXMLElement_addAttribute_required_attribute_name.phpt2 SimpleXMLElement: Test to ensure that the required attribute name correctly is giving a warning
10 $a = new SimpleXMLElement("<php>testfest</php>");
11 $a->addAttribute( "", "" );
12 echo $a->asXML();
/PHP-5.5/ext/reflection/tests/
H A DReflectionClass_newInstanceArgs_002.phpt9 public function __construct($a, $b) {
10 echo "In constructor of class B with arg $a\n";
14 $a = $rc->newInstanceArgs('x');
15 var_dump($a);

Completed in 63 milliseconds

1...<<31323334353637383940>>...253