/PHP-5.6/Zend/tests/ |
H A D | bug34310.phpt | 2 Bug #34310 (foreach($arr as $c->d => $x) crashes) 16 foreach($arr as $x => $c->d) 18 echo "{$x} => {$c->d}\n"; 22 foreach($arr as $c->d => $x) 24 echo "{$c->d} => {$x}\n";
|
H A D | indirect_reference_this.phpt | 6 function f($x){var_dump($$x);} 8 $x = new X; 9 $x->f("this");
|
H A D | objects_021.phpt | 14 return x(); 18 return x(); 22 return x(); 26 function x() { 30 x()
|
H A D | bug29883.phpt | 5 $x = "bug"; 6 var_dump(isset($x[-1])); 7 var_dump(isset($x["1"])); 8 echo $x["1"]."\n";
|
H A D | bug35470.phpt | 5 $x = array("test", "55"); 6 global ${$x[0]}; 7 ${$x[0]} = $x[1];
|
H A D | bug50261.phpt | 7 function testClass($x) { 8 echo __METHOD__, " (". $x . ")\n"; 14 static $x = 0; 16 if ($x) { 19 $x++;
|
H A D | unset_cv03.phpt | 5 $x = "ok\n"; 6 echo $x; 8 echo $x; 13 Notice: Undefined variable: x in %sunset_cv03.php on line %d
|
/PHP-5.6/ext/intl/collator/ |
H A D | collator.c | 41 #define COLLATOR_EXPOSE_CONST(x) REGISTER_LONG_CONSTANT(#x, x, CONST_CS) in collator_register_constants() argument 42 …define COLLATOR_EXPOSE_CLASS_CONST(x) zend_declare_class_constant_long( Collator_ce_ptr, ZEND_STRS… in collator_register_constants() argument
|
/PHP-5.6/ext/gd/tests/ |
H A D | bug49600.phpt | 17 $x = imagettftext($image, 32, 0, 0, 0, $color, $font, $c); 19 if ( abs($x[0] - $y[0]) > 1 20 || abs($x[2] - $y[2]) > 1 21 || abs($x[4] - $y[4]) > 1 22 || abs($x[6] - $y[6]) > 1 ) { 24 var_dump($x);
|
/PHP-5.6/ext/openssl/tests/ |
H A D | openssl_spki_new_basic.phpt | 42 return sprintf('%04x%04x-%04x-%04x-%04x-%04x%04x%04x', mt_rand(0, 0xffff),
|
H A D | openssl_spki_export_basic.phpt | 44 return sprintf('%04x%04x-%04x-%04x-%04x-%04x%04x%04x', mt_rand(0, 0xffff),
|
/PHP-5.6/ext/fileinfo/tests/ |
H A D | magic | 3595 >32 leshort x Version:0x%x 3600 >32 leshort x Version:0x%x 3605 >32 leshort x Version:0x%x 5159 >>>0 ubyte x (0x%x) 7250 >>4 ubyte x : ID=0x%x 8043 >32 lelong x CRC 0x%x, 8053 >32 belong x CRC 0x%x, 13624 >>>>&0 leshort x 0x%x 13638 >>>>&0 leshort x 0x%x) 13659 >>>>&0 leshort x 0x%x [all …]
|
/PHP-5.6/ext/gd/libgd/ |
H A D | gd_gd.c | 168 int x, y; in gdImageCreateFromGdCtx() local 182 for (x = 0; x < sx; x++) { in gdImageCreateFromGdCtx() 187 im->tpixels[y][x] = pix; in gdImageCreateFromGdCtx() 192 for (x = 0; x < sx; x++) { in gdImageCreateFromGdCtx() 199 im->pixels[y][x] = ch; in gdImageCreateFromGdCtx() 249 int x, y; in _gdImageGd() local 254 for (x = 0; x < im->sx; x++) { in _gdImageGd() 257 gdPutInt(im->tpixels[y][x], out); in _gdImageGd() 259 gdPutC((unsigned char) im->pixels[y][x], out); in _gdImageGd()
|
H A D | gd_color.c | 20 int x,y; in gdImageColorMatch() local 39 for (x=0; x<im1->sx; x++) { in gdImageColorMatch() 41 color = im2->pixels[y][x]; in gdImageColorMatch() 42 rgb = im1->tpixels[y][x]; in gdImageColorMatch()
|
H A D | gd_gd2.c | 271 int x, y, ylo, yhi, xlo, xhi; in gdImageCreateFromGd2Ctx() local 344 for (x = xlo; x < xhi; x++) { in gdImageCreateFromGd2Ctx() 358 im->pixels[y][x] = ch; in gdImageCreateFromGd2Ctx() 362 for (x = xlo; x < xhi; x++) { in gdImageCreateFromGd2Ctx() 437 int x, y, ylo, yhi, xlo, xhi; in gdImageCreateFromGd2PartCtx() local 579 for (x = xlo; x < xhi; x++) { in gdImageCreateFromGd2PartCtx() 603 …if ((x >= srcx) && (x < (srcx + w)) && (x < fsx) && (x >= 0) && (y >= srcy) && (y < (srcy + h)) &&… in gdImageCreateFromGd2PartCtx() 760 for (x = xlo; x < xhi; x++) { in _gdImageGd2() 773 for (x = xlo; x < xhi; x++) { in _gdImageGd2() 810 for (x = 0; x < chunkNum; x++) { in _gdImageGd2() [all …]
|
/PHP-5.6/ext/filter/tests/ |
H A D | 048.phpt | 25 $s = sprintf("%x", PHP_INT_MAX); 26 var_dump(is_long(filter_var('0x'.$s, FILTER_VALIDATE_INT, array("flags"=>FILTER_FLAG_ALLOW_HEX)))); 29 var_dump(is_long(filter_var('0x'.$s, FILTER_VALIDATE_INT, array("flags"=>FILTER_FLAG_ALLOW_HEX)))); 31 $s = sprintf("%x", ~0); 32 var_dump(is_long(filter_var('0x'.$s, FILTER_VALIDATE_INT, array("flags"=>FILTER_FLAG_ALLOW_HEX)))); 35 var_dump(filter_var('0x'.$s, FILTER_VALIDATE_INT, array("flags"=>FILTER_FLAG_ALLOW_HEX)));
|
/PHP-5.6/ext/intl/tests/ |
H A D | spoofchecker_004.phpt | 11 $x = new Spoofchecker(); 13 var_dump($x->areConfusable("HELLO", "H\xD0\x95LLO")); 14 var_dump($x->areConfusable("hello", "h\xD0\xB5llo")); 17 $x->setChecks(Spoofchecker::MIXED_SCRIPT_CONFUSABLE | 20 var_dump($x->areConfusable("HELLO", "H\xD0\x95LLO")); 21 var_dump($x->areConfusable("hello", "h\xD0\xB5llo"));
|
H A D | spoofchecker_005.phpt | 11 $x = new Spoofchecker(); 13 var_dump($x->areConfusable("HELLO", "H\xD0\x95LLO")); 14 var_dump($x->areConfusable("hello", "h\xD0\xB5llo")); 17 $x->setChecks(Spoofchecker::MIXED_SCRIPT_CONFUSABLE | 20 var_dump($x->areConfusable("HELLO", "H\xD0\x95LLO")); 21 var_dump($x->areConfusable("hello", "h\xD0\xB5llo"));
|
H A D | spoofchecker_003.phpt | 10 $x = new Spoofchecker(); 13 $x->setAllowedLocales('en_US'); 14 var_dump($x->isSuspicious($korean)); 18 $x->setAllowedLocales('en_US, ko_KR'); 19 var_dump($x->isSuspicious($korean));
|
/PHP-5.6/ext/gmp/tests/ |
H A D | 002.phpt | 7 function fact($x) { 8 if($x <= 1) 11 return gmp_mul($x,fact($x-1));
|
/PHP-5.6/ext/soap/tests/bugs/ |
H A D | bug32776.phpt | 12 function test($x) { 14 $d = $x; 35 $x = new LocalSoapClient(dirname(__FILE__)."/bug32776.wsdl",array("trace"=>true,"exceptions"=>false… 36 var_dump($x->test("Hello")); 38 var_dump($x->__getLastRequest()); 39 var_dump($x->__getLastResponse()); 46 ….xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><SOAP-ENV:test><x xsi:type="xsd:string">Hello</x></SOA…
|
/PHP-5.6/ext/xmlwriter/tests/ |
H A D | bug41326.phpt | 29 $xw->startElementNS('test', 'test', 'urn:x-test:'); 31 $xw->writeElementNS(null, 'bar', 'urn:x-test:', ''); 32 $xw->writeElementNS(null, 'bar', 'urn:x-test:', NULL); 33 $xw->writeElementNS(null, 'bar', 'urn:x-test:'); 50 <test:test xmlns:test="urn:x-test:"> 52 <bar xmlns="urn:x-test:"></bar> 53 <bar xmlns="urn:x-test:"/> 54 <bar xmlns="urn:x-test:"/>
|
/PHP-5.6/ext/standard/tests/strings/ |
H A D | bug27278.phpt | 12 $x="02"; 13 var_dump($x); 14 foo($x); 15 var_dump($x);
|
/PHP-5.6/ext/simplexml/tests/ |
H A D | bug45553.phpt | 14 $x = simplexml_load_string($xml); 15 $x->registerXPathNamespace("a", "http://a"); 17 $atts = $x->xpath("/xml/data/@a:label"); 19 $atts = $x->xpath("/xml/a:data"); 21 $atts = $x->xpath("/xml/a:data/@a:label"); 23 $atts = $x->xpath("/xml/a:data/@label"); 25 $atts = $x->xpath("/xml/data/@label");
|
/PHP-5.6/scripts/dev/ |
H A D | check_parameters.php | 118 foreach ($m as $x) { 120 if (!in_array($x[1], array('else', 'endif', 'return'))) // hack to skip reserved words 121 $ret[$x[4]] = array($x[1] . $x[2] . $x[3], $x[5]); 124 if ($x[6]) { 125 preg_match_all('/(\**)\s*(\w+(?:\[\s*\w*\s*\])?)\s*(=?)/S', $x[6], $y, PREG_SET_ORDER); 127 $ret[$z[2]] = array($x[1] . $z[1], $z[3]); 171 foreach ($m as $x) { 172 $name = $x[2]; 184 $ret[] = array($name, $vars[$name][0] . ($x[1] ? '*' : ''), $vars[$name][1]); 188 if ($x[3]) {
|