Home
last modified time | relevance | path

Searched refs:x (Results 176 – 200 of 1169) sorted by relevance

12345678910>>...47

/PHP-5.5/Zend/tests/
H A Dindirect_reference_this.phpt6 function f($x){var_dump($$x);}
8 $x = new X;
9 $x->f("this");
H A Dobjects_021.phpt14 return x();
18 return x();
22 return x();
26 function x() {
30 x()
H A Dbug29883.phpt5 $x = "bug";
6 var_dump(isset($x[-1]));
7 var_dump(isset($x["1"]));
8 echo $x["1"]."\n";
H A Dbug35470.phpt5 $x = array("test", "55");
6 global ${$x[0]};
7 ${$x[0]} = $x[1];
H A Dbug50261.phpt7 function testClass($x) {
8 echo __METHOD__, " (". $x . ")\n";
14 static $x = 0;
16 if ($x) {
19 $x++;
H A Dunset_cv03.phpt5 $x = "ok\n";
6 echo $x;
8 echo $x;
13 Notice: Undefined variable: x in %sunset_cv03.php on line %d
H A Dunset_cv04.phpt6 $x = "ok\n";
7 echo $x;
9 echo $x;
16 Notice: Undefined variable: x in %sunset_cv04.php on line %d
H A Dbug46106.phpt11 function test($x) {
14 $x->invokeArgs(array(0));
17 $x = new ReflectionFunction('str_pad');
18 test($x);
/PHP-5.5/ext/intl/collator/
H A Dcollator.c41 #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.5/ext/intl/tests/
H A Dspoofchecker_004.phpt10 $x = new Spoofchecker();
12 var_dump($x->areConfusable("HELLO", "H\xD0\x95LLO"));
13 var_dump($x->areConfusable("hello", "h\xD0\xB5llo"));
16 $x->setChecks(Spoofchecker::MIXED_SCRIPT_CONFUSABLE |
19 var_dump($x->areConfusable("HELLO", "H\xD0\x95LLO"));
20 var_dump($x->areConfusable("hello", "h\xD0\xB5llo"));
H A Dspoofchecker_003.phpt10 $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.5/ext/gd/tests/
H A Dbug49600.phpt17 $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.5/ext/gd/libgd/
H A Dgd_gd.c168 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 Dgd_gd2.c267 int x, y, ylo, yhi, xlo, xhi; in gdImageCreateFromGd2Ctx() local
340 for (x = xlo; x < xhi; x++) { in gdImageCreateFromGd2Ctx()
343 im->tpixels[y][x] = 0; in gdImageCreateFromGd2Ctx()
350 im->pixels[y][x] = ch; in gdImageCreateFromGd2Ctx()
354 for (x = xlo; x < xhi; x++) { in gdImageCreateFromGd2Ctx()
571 for (x = xlo; x < xhi; x++) { in gdImageCreateFromGd2PartCtx()
595 …if ((x >= srcx) && (x < (srcx + w)) && (x < fsx) && (x >= 0) && (y >= srcy) && (y < (srcy + h)) &&… in gdImageCreateFromGd2PartCtx()
752 for (x = xlo; x < xhi; x++) { in _gdImageGd2()
765 for (x = xlo; x < xhi; x++) { in _gdImageGd2()
802 for (x = 0; x < chunkNum; x++) { in _gdImageGd2()
[all …]
H A Dgd_color.c20 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()
/PHP-5.5/ext/filter/tests/
H A D048.phpt25 $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.5/ext/gmp/tests/
H A D002.phpt7 function fact($x) {
8 if($x <= 1)
11 return gmp_mul($x,fact($x-1));
/PHP-5.5/ext/soap/tests/bugs/
H A Dbug32776.phpt12 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.5/ext/xmlwriter/tests/
H A Dbug41326.phpt29 $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.5/ext/standard/tests/strings/
H A Dbug27278.phpt12 $x="02";
13 var_dump($x);
14 foo($x);
15 var_dump($x);
/PHP-5.5/ext/simplexml/tests/
H A Dbug45553.phpt14 $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.5/scripts/dev/
H A Dcheck_parameters.php118 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]) {
/PHP-5.5/ext/dom/tests/
H A Ddom007.phpt53 for($x=0; $x < $length; $x++) {
54 …echo "Index $x: ".$nots->item($x)->nodeName." (".$nots->item($x)->systemId.") (".$nots->item($x)->…
78 for($x=0; $x < $length; $x++) {
79 $xkeys[] = "Index: ".$ents->item($x)->nodeName."\n";
/PHP-5.5/ext/odbc/
H A Dphp_odbc_includes.h283 #define IS_SQL_LONG(x) (x == SQL_LONGVARBINARY || x == SQL_LONGVARCHAR || x == SQL_WLONGVARCHAR) argument
290 #define IS_SQL_LONG(x) (x == SQL_LONGVARBINARY || x == SQL_LONGVARCHAR) argument
297 #define IS_SQL_BINARY(x) (x == SQL_BINARY || x == SQL_VARBINARY || x == SQL_LONGVARBINARY) argument
/PHP-5.5/ext/pdo_sqlite/tests/
H A Ddebugdumpparams_001.phpt12 $x= $db->prepare('select :a, :b, ?');
13 $x->bindValue(':a', 1, PDO::PARAM_INT);
14 $x->bindValue(':b', 'foo');
15 $x->bindValue(3, 1313);
16 var_dump($x->debugDumpParams());

Completed in 70 milliseconds

12345678910>>...47