/PHP-5.5/tests/lang/ |
H A D | foreachLoopObjects.005.phpt | 7 public $a = "Original a"; 18 if ($v==$obj->a) { 33 unset($obj->a); 48 string(10) "Original a" 53 ["a"]=> 54 string(10) "Original a" 64 string(10) "Original a"
|
/PHP-5.5/ext/intl/tests/ |
H A D | locale_set_default.phpt | 26 'i-enochian', //(example of a grandfathered tag) 61 'zh-CN-a-myExt-x-private', 62 'en-a-myExt-b-another', 65 'a-DE', 66 'ar-a-aaa-b-bbb-a-ccc' 129 zh-CN-a-myExt-x-private: set locale 'zh-CN-a-myExt-x-private' 130 en-a-myExt-b-another: set locale 'en-a-myExt-b-another' 132 a-DE: set locale 'a-DE' 133 ar-a-aaa-b-bbb-a-ccc: set locale 'ar-a-aaa-b-bbb-a-ccc'
|
/PHP-5.5/ext/gd/libgd/ |
H A D | gd_security.c | 20 int overflow2(int a, int b) in overflow2() argument 22 if(a <= 0 || b <= 0) { in overflow2() 26 if(a > INT_MAX / b) { in overflow2()
|
/PHP-5.5/ext/pcre/pcrelib/testdata/ |
H A D | grepoutput | 2 PATTERN at the start of a line. 3 In the middle of a line, PATTERN appears. 7 PATTERN at the start of a line. 10 7:PATTERN at the start of a line. 28 7:PATTERN at the start of a line. 59 13:That was a complete pair 493 PATTERN at the start of a line. 498 PATTERN at the start of a line. 503 PATTERN at the start of a line. 557 13:That was a complete pair [all …]
|
/PHP-5.5/ext/pdo/tests/ |
H A D | bug_50458.phpt | 17 $db->exec("CREATE TABLE test (a VARCHAR(10))"); 18 $db->exec("INSERT INTO test (a) VALUES ('xyz')"); 19 $res = $db->query("SELECT a FROM test"); 20 var_dump($res->fetchAll(PDO::FETCH_FUNC, function($a) { return strtoupper($a); }));
|
/PHP-5.5/ext/phar/tests/ |
H A D | 013.phpt | 15 $files['a'] = array('cont'=>'a', 'ulen'=>2, 'clen'=>2); 18 echo file_get_contents($pname.'/a'); 23 …rning: file_get_contents(phar://%s/a): failed to open stream: phar error: internal corruption of p…
|
H A D | 014.phpt | 15 $files['a'] = array('cont'=>'a', 'crc32'=>crc32(b'aX')); 18 echo file_get_contents($pname.'/a'); 23 …ile_get_contents(phar://%s/a): failed to open stream: phar error: internal corruption of phar "%s"…
|
H A D | create_new_phar_b.phpt | 2 Phar: create a completely new phar 11 file_put_contents('phar://' . dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php/a.p… 13 include 'phar://' . dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php/a.php'; 21 Warning: file_put_contents(phar://%screate_new_phar_b.phar.php/a.php): failed to open stream: phar … 23 Warning: include(phar://%screate_new_phar_b.phar.php/a.php): failed to open stream: %s in %screate_… 25 Warning: include(): Failed opening 'phar://%screate_new_phar_b.phar.php/a.php' for inclusion (inclu…
|
H A D | fopen_edgecases2U.phpt | 18 $a = fopen($fname, 'rb'); 19 echo fread($a, 1000); 20 fclose($a); 25 $a = fopen("foob", "rb", false, $context); 26 echo fread($a, 1000); 27 fclose($a); 45 …gecases2U.phar.php/oops): failed to open stream: phar error: path "oops" is a directory in phar://…
|
/PHP-5.5/ext/spl/tests/ |
H A D | arrayObject___construct_error1.phpt | 6 $a = new stdClass; 7 $a->p = 1; 9 var_dump(new ArrayObject($a, 0, "Exception")); 23 ArrayObject::__construct() expects parameter 3 to be a class name derived from Iterator, 'Exception… 25 ArrayObject::__construct() expects parameter 3 to be a class name derived from Iterator, 'nonExiste…
|
/PHP-5.5/ext/dom/tests/ |
H A D | bug46185.phpt | 9 <ns1:a xmlns:ns1="urn::ns"/>'); 10 $a= $aDOM->firstChild; 17 $a->appendChild($imported); 23 <ns1:a xmlns:ns1="urn::ns"><ns1:ok xmlns="urn::REAL"><watch-me xmlns:default="urn::BOGUS"/></ns1:ok…
|
H A D | DOMDocument_schemaValidate_error1.phpt | 2 DomDocument::schemaValidate() - file that is not a schema 15 $result = $doc->schemaValidate(dirname(__FILE__)."/book-not-a-schema.xsd"); 20 Warning: DOMDocument::schemaValidate(): %sbook-not-a-schema.xsd:1: parser error : Start tag expecte… 22 …cument::schemaValidate(): Let's see what happens upon parsing a file that doesn't contain a schema… 26 Warning: DOMDocument::schemaValidate(): Failed to parse the XML resource '%sbook-not-a-schema.xsd'.…
|
/PHP-5.5/tests/classes/ |
H A D | constants_basic_006.phpt | 2 Ensure class constants are not evaluated when a class is looked up to resolve inheritance during ru… 8 public static $a = array(K => D::V, E::A => K); 20 var_dump(C::X, C::$a, D::X, D::$a, E::X, E::$a);
|
/PHP-5.5/ext/standard/tests/file/ |
H A D | parse_ini_file_variation6-win32.phpt | 51 $content="a=test"; 76 ["a"]=> 82 ["a"]=> 88 ["a"]=> 94 ["a"]=> 110 ["a"]=> 116 ["a"]=> 122 ["a"]=> 128 ["a"]=> 139 ["a"]=>
|
/PHP-5.5/ext/standard/tests/strings/ |
H A D | bug67252.phpt | 6 $a = "M86%A86%A86%A86%A86%A86%A86%A86%A86%A86%A86%A86%A86%A86%A86%A"."\n"."a."; 7 var_dump(convert_uudecode($a)); 12 Warning: convert_uudecode(): The given parameter is not a valid uuencoded string in %s on line %d
|
/PHP-5.5/ext/standard/tests/serialize/ |
H A D | bug37947.phpt | 8 function extend_zend_ptr_stack($count,$a,$b,$c,$d,$e) { 10 1,$a,$b,$c,$d,$e); 14 $this->extend_zend_ptr_stack(10,'a','b','c','d','e'); 18 $str='a:2:{i:0;O:4:"test":0:{}junk';
|
/PHP-5.5/Zend/tests/generators/ |
H A D | fibonacci.phpt | 2 Creating an infinite fibonacci list using a generator 7 list($a, $b) = [1, 1]; 10 list($a, $b) = [$b, $a + $b];
|
/PHP-5.5/ext/standard/tests/array/ |
H A D | array_merge_variation8.phpt | 19 echo "\n-- Merge a two-dimensional and a one-dimensional array --\n"; 22 echo "\n-- Merge an array and a sub-array --\n"; 32 -- Merge a two-dimensional and a one-dimensional array -- 53 -- Merge an array and a sub-array --
|
/PHP-5.5/ext/phar/tests/zip/ |
H A D | create_new_phar_b.phpt | 2 Phar: create a completely new zip-based phar 11 file_put_contents('phar://' . dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.zip/a.p… 13 include 'phar://' . dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.zip/a.php'; 21 Warning: file_put_contents(phar://%screate_new_phar_b.phar.zip/a.php): failed to open stream: phar … 23 Warning: include(phar://%screate_new_phar_b.phar.zip/a.php): failed to open stream: %s in %screate_… 25 Warning: include(): Failed opening 'phar://%screate_new_phar_b.phar.zip/a.php' for inclusion (inclu…
|
H A D | 033.phpt | 16 $phar['a.php'] = '<?php echo "This is a\n"; include "'.$alias.'/b.php"; ?>'; 22 var_dump($phar['a.php']->isExecutable()); 23 $phar['a.php']->chmod(0777); 27 var_dump($phar2['a.php']->isExecutable()); 28 $phar['a.php']->chmod(0666); 29 var_dump($phar['a.php']->isExecutable());
|
H A D | phar_copy.phpt | 23 $p['a'] = 'hi'; 25 $p->copy('a', 'b'); 32 $p->copy('a', $ename); 42 echo 'a: ' , file_get_contents($p2['a']->getPathName()); 52 file "/error/.." contains invalid characters upper directory reference, cannot be copied from "a" i… 55 a: hib: hic: hi===DONE===
|
/PHP-5.5/ext/phar/tests/tar/ |
H A D | create_new_phar_b.phpt | 2 Phar: create a completely new tar-based phar 11 file_put_contents('phar://' . dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.tar/a.p… 13 include 'phar://' . dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.tar/a.php'; 21 Warning: file_put_contents(phar://%screate_new_phar_b.phar.tar/a.php): failed to open stream: phar … 23 Warning: include(phar://%screate_new_phar_b.phar.tar/a.php): failed to open stream: %s in %screate_… 25 Warning: include(): Failed opening 'phar://%screate_new_phar_b.phar.tar/a.php' for inclusion (inclu…
|
/PHP-5.5/ext/oci8/tests/ |
H A D | null_byte_2.phpt | 18 echo "Test 1: Valid use of a null byte\n"; 25 echo "Test 3: Using a null byte in a bind variable name\n"; 37 Test 1: Valid use of a null byte 45 Test 3: Using a null byte in a bind variable name
|
H A D | null_byte_3.phpt | 15 echo "Test 1: Invalid use of a null byte\n"; 20 echo "Test 2: Using a null byte in a bind variable value causing WHERE clause to fail\n"; 33 Test 1: Invalid use of a null byte 36 Test 2: Using a null byte in a bind variable value causing WHERE clause to fail
|
/PHP-5.5/ext/mbstring/tests/ |
H A D | mb_detect_order.phpt | 27 $a[] = 'ASCII'; 28 $a[] = 'JIS'; 29 $a[] = 'EUC-JP'; 30 $a[] = 'UTF-8'; 31 $r = mb_detect_order($a); 42 $a[] = 'BAD_NAME'; 43 $r = mb_detect_order($a);
|