Home
last modified time | relevance | path

Searched refs:a (Results 926 – 950 of 6311) sorted by relevance

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

/PHP-5.5/ext/standard/tests/strings/
H A Dstr_word_count1.phpt8 var_dump(str_word_count("", -1, $a));
9 var_dump($a);
19 Notice: Undefined variable: a in %s on line %d
24 Notice: Undefined variable: a in %s on line %d
H A Dbug24208.phpt5 $a = $b = $c = "oops";
6 parse_str("a=1&b=2&c=3");
7 var_dump($a, $b, $c);
/PHP-5.5/Zend/tests/
H A Ddebug_print_backtrace_limit.phpt5 function a() {
20 a();
28 #2 a() called at [%sdebug_print_backtrace_limit.php:17]
31 #2 a() called at [%sdebug_print_backtrace_limit.php:17]
H A Dget_class_methods_002.phpt7 function a();
12 public function a() { }
30 string(1) "a"
36 string(1) "a"
H A Dmagic_methods_008.phpt7 abstract function __set($a, $b);
10 class a extends b {
11 private function __set($a, $b) {
19 Fatal error: Access level to a::__set() must be public (as in class b) in %s on line %d
/PHP-5.5/ext/filter/tests/
H A D042.phpt8 $a = filter_var($var, FILTER_SANITIZE_STRING, array("flags" => FILTER_FLAG_STRIP_LOW));
9 echo $a . "\n";
14 $a = filter_var($var, FILTER_SANITIZE_STRING, array("flags" => FILTER_FLAG_STRIP_LOW));
15 echo $a . "\n";
H A D033.phpt17 validate_url http://a.b.c …
21 string PHP 1 foo@bar.com http://a.b.c 1.2.3.4 123 123abc() O…
22 stripped PHP 1 foo@bar.com http://a.b.c 1.2.3.4 123 123abc() O…
24 special_chars PHP 1 foo@bar.com http://a.b.c 1.2.3.4 123 123abc&#60;&#62;() O…
25 full_special_chars PHP 1 foo@bar.com http://a.b.c 1.2.3.4 123 123abc&lt;&gt;() O…
26 unsafe_raw PHP 1 foo@bar.com http://a.b.c 1.2.3.4 123 123abc<>() O…
28 url PHP 1 foo@bar.com http://a.b.c 1.2.3.4 123 123abc<>() O…
31 magic_quotes PHP 1 foo@bar.com http://a.b.c 1.2.3.4 123 123abc<>() O…
/PHP-5.5/ext/ctype/tests/
H A D001.phpt11 for($a=0;$a<256;$a++) {
12 if($function($a)) $n++;
/PHP-5.5/ext/standard/tests/array/
H A Darray_key_exists_object2.phpt22 function __construct($a, $b, $c = null) {
23 $this->var1 = $a;
31 echo "\n-- Do not assign a value to \$class1->var3 --\n";
32 $class1 = new myClass ('a', 'b');
42 echo "\n-- Assign a value to \$class2->var3 --\n";
55 -- Do not assign a value to $class1->var3 --
65 %unicode|string%(1) "a"
72 -- Assign a value to $class2->var3 --
H A Darray_intersect_uassoc_variation11.phpt6 …tes the intersection of arrays with additional index check, compares indexes by a callback function
13 $array1 = array("a" => "green", "b" => "brown", "c" => "blue", "red");
14 $array2 = array("a" => "green", "yellow", "red");
15 $array3 = array("a"=>"green", "brown");
38 Error: 2 - array_intersect_uassoc() expects parameter 3 to be a valid callback, no array or string …
40 Error: 2 - array_intersect_uassoc() expects parameter 4 to be a valid callback, no array or string …
/PHP-5.5/ext/phar/tests/zip/
H A Dall.phpt24 $phar['a'] = 'hi';
25 $phar['a']->setMetadata('a meta');
36 var_dump(file_exists($fname), file_exists($pname . '/a'));
39 var_dump($phar['a']->getContent(), $phar['b']->getContent(), $phar['c']->getContent());
40 var_dump($phar['a']->isCompressed(), $phar['b']->isCompressed() == Phar::GZ, $phar['c']->isCompress…
45 var_dump($phar['a']->getMetadata());
65 string(6) "a meta"
H A DallU.phpt24 $phar['a'] = 'hi';
25 $phar['a']->setMetadata('a meta');
36 var_dump(file_exists($fname), file_exists($pname . '/a'));
39 var_dump($phar['a']->getContent(), $phar['b']->getContent(), $phar['c']->getContent());
40 var_dump($phar['a']->isCompressed(), $phar['b']->isCompressed() == Phar::GZ, $phar['c']->isCompress…
45 var_dump($phar['a']->getMetadata());
64 unicode(6) "a meta"
H A Dphar_magic.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…
27 include "phar://" . __FILE__ . "/a";
/PHP-5.5/ext/phar/tests/
H A Dphar_mount.phpt13 $a = new Phar($fname);
14 $a['index.php'] = '<?php
27 $a->setStub('<?php
33 // test copying of a phar with mounted entries
34 $b = $a->convertToExecutable(Phar::TAR);
50 echo substr($a['testit2']->getContent(),0, 50),"\n";
58 Can only mount internal paths within a phar archive, use a relative path instead of "phar://%sphar_…
H A D028.phpt11 $file = '<?php include "' . $pname . '/a.php"; __HALT_COMPILER(); ?>';
15 $files['a.php'] = '<?php echo "This is a\n"; include "'.$pname.'/b.php"; ?>';
29 include $pname . '/a.php';
36 This is a
42 This is a
H A Dopendir_edgecases.phpt20 $a = opendir('poo');
23 while (false !== ($b = readdir($a))) {
31 closedir($a);
35 $a = opendir(".", $context);
37 while (false !== ($b = readdir($a))) {
55 Warning: opendir() expects parameter 1 to be a valid path, array given in %sopendir_edgecases.php o…
/PHP-5.5/ext/bcmath/libbcmath/src/
H A Dbcmath.h76 #define MAX(a, b) ((a)>(b)?(a):(b)) argument
77 #define MIN(a, b) ((a)>(b)?(b):(a)) argument
78 #define ODD(a) ((a)&1) argument
/PHP-5.5/Zend/
H A DZEND_CHANGES252 $a->a($b);
253 $a->b($b);
321 when you create a duplicate you might want to create a new
389 classes around in a large class hierarchy. If a class is moved
418 a __construct() function for a given class, it will search for
937 when used inside a method and the function when used outside of a
1032 $foo = &$a; would make $foo and $a be two names to the same
1034 $foo = &$a[7]; would make $foo and $a[7] be two names to the
1126 You can now, for example, override a parent function with a
1145 initializing a static variable with anything but a simple
[all …]
/PHP-5.5/ext/pgsql/tests/
H A Dbug60244.phpt13 $result = pg_query("select 'a' union select 'b'");
42 string(1) "a"
44 string(1) "a"
48 string(1) "a"
52 string(1) "a"
56 string(1) "a"
/PHP-5.5/ext/reflection/tests/
H A Dbug38465.phpt11 public function x($a = self::X, $b = Baz::B, $c = 99) {}
16 public function y($a = self::Y, $b = Baz::B, $c = 99) {}
51 Bar::y($a = 2)
54 Foo::x($a = 1)
59 Bar::y($a = 2)
62 Foo::x($a = 1)
/PHP-5.5/ext/spl/tests/
H A Darray_001.phpt17 var_dump($ar["a"] = "a");
26 unset($ar["a"]);
64 string(1) "a"
76 ["a"]=>
77 string(1) "a"
/PHP-5.5/ext/standard/tests/general_functions/
H A Dphpinfo.phpt22 Build Date => %s%a
27 Loaded Configuration File => %a
28 Scan this dir for additional .ini files => %a
29 Additional .ini files parsed => %a
47 %a
75 %a
/PHP-5.5/tests/func/
H A D010.phpt15 function test($a,$b)
17 var_dump($a === $b);
18 test2($a,$b);
21 function test2($a, $b)
23 if ($a !== $b) {
24 var_dump("something went wrong: $a !== $b");
/PHP-5.5/ext/standard/tests/file/
H A Ddisk_total_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 */
70 *** Testing with a directory ***
103 Warning: disk_total_space() expects parameter 1 to be a valid path, string given in %s on line %d
108 Warning: disk_total_space() expects parameter 1 to be a valid path, string given in %s on line %d
113 Warning: disk_total_space() expects parameter 1 to be a valid path, string given in %s on line %d
118 Warning: disk_total_space() expects parameter 1 to be a valid path, string given in %s on line %d
/PHP-5.5/ext/mbstring/tests/
H A Dmb_substr_variation7.phpt11 * Description: Returns part of a string
16 * Test how mb_substr() behaves when passed a range of integers as $length argument
33 if (@$a || @$b) {
34 $a = null;
39 $a = mb_substr($string_ascii, 1, $i);
40 if ($a !== false) {
41 var_dump(bin2hex($a));
44 var_dump($a);
48 if (strlen($a) == mb_strlen($b, 'UTF-8')) { // should return same length

Completed in 54 milliseconds

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