/PHP-5.5/ext/standard/tests/strings/ |
H A D | str_word_count1.phpt | 8 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 D | bug24208.phpt | 5 $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 D | debug_print_backtrace_limit.phpt | 5 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 D | get_class_methods_002.phpt | 7 function a(); 12 public function a() { } 30 string(1) "a" 36 string(1) "a"
|
H A D | magic_methods_008.phpt | 7 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 D | 042.phpt | 8 $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 D | 033.phpt | 17 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<>() O… 25 full_special_chars PHP 1 foo@bar.com http://a.b.c 1.2.3.4 123 123abc<>() 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 D | 001.phpt | 11 for($a=0;$a<256;$a++) { 12 if($function($a)) $n++;
|
/PHP-5.5/ext/standard/tests/array/ |
H A D | array_key_exists_object2.phpt | 22 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 D | array_intersect_uassoc_variation11.phpt | 6 …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 D | all.phpt | 24 $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 D | allU.phpt | 24 $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 D | phar_magic.phpt | 17 $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 D | phar_mount.phpt | 13 $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 D | 028.phpt | 11 $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 D | opendir_edgecases.phpt | 20 $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 D | bcmath.h | 76 #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 D | ZEND_CHANGES | 252 $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 D | bug60244.phpt | 13 $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 D | bug38465.phpt | 11 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 D | array_001.phpt | 17 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 D | phpinfo.phpt | 22 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 D | 010.phpt | 15 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 D | disk_total_space_variation.phpt | 7 * 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 D | mb_substr_variation7.phpt | 11 * 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
|