/PHP-7.0/ext/mbstring/tests/ |
H A D | mb_split_variation1.phpt | 19 $string = 'a b c d e f g'; 107 string(13) "a b c d e f g" 113 string(13) "a b c d e f g" 119 string(13) "a b c d e f g" 125 string(13) "a b c d e f g" 131 string(13) "a b c d e f g" 137 string(13) "a b c d e f g" 143 string(13) "a b c d e f g" 149 string(13) "a b c d e f g" 155 string(13) "a b c d e f g" [all …]
|
/PHP-7.0/ext/standard/tests/strings/ |
H A D | pack_float.phpt | 40 'pack g', 41 bin2hex(pack("g", "")), 42 bin2hex(pack("g", "a")), 43 bin2hex(pack("g", " ")), 45 bin2hex(pack("g", 0)), 46 bin2hex(pack("g", 1)), 47 bin2hex(pack("g", 1.0)), 51 bin2hex(pack("g", -1)), 94 'unpack g', 149 string(6) "pack g" [all …]
|
H A D | dirname_multi_win.phpt | 17 var_dump(dirname("g:/foo/bar/baz", PHP_INT_MAX)); 18 var_dump(dirname("g:foo/bar/baz", PHP_INT_MAX)); 29 string(3) "g:\" 30 string(3) "g:."
|
/PHP-7.0/Zend/tests/ |
H A D | bug29104.phpt | 7 function g() 9 echo "function g - begin\n"; 16 echo "function g - end\n"; 21 $a->g(); 25 function g - begin 26 function g - end
|
H A D | bug74840.phpt | 6 $g = (function($a) { 15 $g->next(); 16 var_dump($g->getReturn());
|
/PHP-7.0/ext/gd/libgd/ |
H A D | gd_arc_f_buggy.c | 297 g = x2 - 1; 298 g = g * g * hs + 4 * ws - whs; 331 g = y2 - 1; 332 g = g * g * ws + 4 * hs - whs; 414 g = x2 - 1; 415 g = g * g * hs + 4 * ws - whs; 479 g = y2 - 1; 480 g = g * g * ws + 4 * hs - whs; 636 g = x2 - 1; 637 g = g * g * hs + 4 * ws - whs; [all …]
|
H A D | gd_rotate.c | 73 if (g>255) { in gdImageSkewX() 74 g = 255; in gdImageSkewX() 120 int i, iYPos=0, r, g, b, a; in gdImageSkewY() local 164 if (g>255) { in gdImageSkewY() 165 g = 255; in gdImageSkewY() 208 int c,r,g,b,a; in gdImageRotate90() local 233 g = gdImageGreen(src,c); in gdImageRotate90() 255 int c,r,g,b,a; in gdImageRotate180() local 280 g = gdImageGreen(src,c); in gdImageRotate180() 303 int c,r,g,b,a; in gdImageRotate270() local [all …]
|
H A D | gd_filter.c | 19 int r,g,b,a; in gdImageNegate() local 52 int r,g,b,a; in gdImageGrayScale() local 74 r = g = b = (int) (.299 * r + .587 * g + .114 * b); in gdImageGrayScale() 92 int r,g,b,a; in gdImageBrightness() local 116 g = g + brightness; in gdImageBrightness() 120 g = (g > 255)? 255 : ((g < 0)? 0:g); in gdImageBrightness() 137 int r,g,b,a; in gdImageContrast() local 173 gf = (double)g/255.0; in gdImageContrast() 209 int r,g,b,a; in gdImageColor() local 218 g = g + green; in gdImageColor() [all …]
|
/PHP-7.0/tests/lang/ |
H A D | engine_assignExecutionOrder_001.phpt | 11 function g() { 12 echo "in g()\n"; 18 ${f()} = g(); 22 $a[f()] = g(); 79 in g() 85 in g() 94 in g() 103 in g() 118 in g() 130 in g() [all …]
|
H A D | foreachLoopObjects.002.phpt | 42 protected $g = "Original g"; 204 ["g":protected]=> 239 ["g":protected]=> 279 ["g":protected]=> 314 ["g":protected]=> 388 ["g":protected]=> 411 ["g":protected]=> 433 ["g":protected]=> 468 ["g":protected]=> 493 ["g":protected]=> [all …]
|
/PHP-7.0/Zend/tests/generators/ |
H A D | yield_from_iterator.phpt | 5 function g() { 11 $g = g(); 12 foreach ($g as $yielded) {
|
H A D | yield_precedence.phpt | 18 $g = gen(); 19 for ($g->rewind(), $i = 1; $g->valid(); $g->send($i), $i++) { 20 echo "{$g->key()} => {$g->current()}\n";
|
H A D | bug70965.phpt | 10 function bar($g) { 11 yield from $g; 19 foreach($gens as $g) { 20 var_dump($g->current());
|
H A D | throw_into_yield_from_array.phpt | 18 function test($g) { 19 var_dump($g->current()); 21 $g->throw(new Exception("Exception!")); 25 var_dump($g->current());
|
H A D | mutli_yield_from_with_exception.phpt | 20 foreach ($gens as $g) { 21 $g->current(); // init. 25 foreach ($gens as $i => $g) { 27 var_dump($g->current()); 28 $g->next();
|
/PHP-7.0/ext/gmp/tests/ |
H A D | gmp_sub.phpt | 14 var_dump($g = gmp_sub(10000, 10001)); 15 var_dump(gmp_strval($g)); 16 var_dump($g = gmp_sub(10000, -1)); 17 var_dump(gmp_strval($g)); 18 var_dump($g = gmp_sub(10000, new stdclass)); 19 var_dump(gmp_strval($g)); 20 var_dump($g = gmp_sub(new stdclass, 100)); 21 var_dump(gmp_strval($g));
|
H A D | gmp_strval.phpt | 17 $g = gmp_init("9765456"); 18 var_dump(gmp_strval($g)); 19 var_dump(gmp_strval($g, -1)); 20 var_dump(gmp_strval($g, 100000)); 21 var_dump(gmp_strval($g, 10)); 23 $g = gmp_init("-3373333"); 24 var_dump(gmp_strval($g)); 25 var_dump(gmp_strval($g, -1)); 26 var_dump(gmp_strval($g, 100000)); 27 var_dump(gmp_strval($g, 10));
|
/PHP-7.0/ext/gd/tests/ |
H A D | bug43073.phpt | 31 $g = imagecreate(800, 800); 32 $bgnd = imagecolorallocate($g, 255, 255, 255); 33 $black = imagecolorallocate($g, 0, 0, 0); 34 $red = imagecolorallocate($g, 255, 0, 0); 40 $bbox = imagettftext($g, 24, $angle, 400+$x, 400+$y, $black, $font, 'ABCDEF'); 41 imagepolygon($g, $bbox, 4, $red); 55 imagepng($g, "$cwd/bug43073.png");
|
H A D | bug48732.phpt | 12 $g = imagecreate(100, 50); 13 $bgnd = imagecolorallocate($g, 255, 255, 255); 14 $black = imagecolorallocate($g, 0, 0, 0); 15 $bbox = imagettftext($g, 12, 0, 0, 20, $black, $font, "ABCEDFGHIJKLMN\nopqrstu\n"); 16 imagepng($g, "$cwd/bug48732.png");
|
H A D | bug53504.phpt | 13 $g = imagecreate(800, 800); 14 $bgnd = imagecolorallocate($g, 255, 255, 255); 15 $black = imagecolorallocate($g, 0, 0, 0); 16 $red = imagecolorallocate($g, 255, 0, 0); 17 $blue = imagecolorallocate($g, 0, 0, 255); 33 …['fontSize' => 100, 'angle' => 0, 'x' => 670, 'y' => 220, 'text' => 'g', 'exp' => [5,29, 60,29, 60… 65 $bboxDrawn = imagefttext($g, $test['fontSize'], $test['angle'], 75 imagepolygon($g, $bboxDrawn, 4, $red); 79 imageline($g, $test['x'], $test['y'], 84 imagepng($g, "$cwd/bug53504.png");
|
/PHP-7.0/ext/bcmath/libbcmath/ |
H A D | configure | 650 s,\\,\\\\,g; s,\$,$$,g 1268 ccp = &g + (g ? g-g : 0); 1601 s%@SHELL@%$SHELL%g 1602 s%@CFLAGS@%$CFLAGS%g 1605 s%@FFLAGS@%$FFLAGS%g 1606 s%@DEFS@%$DEFS%g 1608 s%@LIBS@%$LIBS%g 1635 s%@CC@%$CC%g 1637 s%@CPP@%$CPP%g 1786 s/[\\&%]/\\&/g [all …]
|
/PHP-7.0/ext/date/tests/ |
H A D | bug32086.phpt | 8 echo $g = strtotime("2004-11-01"), "\n"; 10 echo $j = strtotime("+1 day", $g), "\n"; 13 echo date("Y-m-d H:i:s T\n", $g); 19 echo $g = strtotime("2005-02-19"), "\n"; 21 echo $j = strtotime("+1 day", $g), "\n"; 24 echo date("Y-m-d H:i:s T\n", $g);
|
/PHP-7.0/ext/openssl/tests/ |
H A D | bug55259.phpt | 12 $dh_details = array( 'p' => $phex, 'g' => '2' ); 13 $dh = openssl_pkey_new(array( 'dh'=> array( 'p' => $phex, 'g' => '2' ))); 15 $dh = openssl_pkey_new(array( 'dh'=> array( 'p' => hex2bin($phex), 'g' => '2' ))); 18 var_dump($details['dh']['g']);
|
H A D | bug72336.phpt | 15 $g = '00b320300a0bc55b8f0ec6edc218e2185250f38fbb8291db8a89227f6e41' . 21 var_dump(openssl_pkey_new(array('dsa' => array('p' => $p, 'q' => $q, 'g' => $g))));
|
/PHP-7.0/ext/soap/tests/bugs/ |
H A D | bug38067.phpt | 10 global $g; 11 $g = $param->str; 12 return $g; 37 echo $g."\n";
|