/PHP-8.0/ext/pcre/tests/ |
H A D | bug79257.phpt | 6 preg_match('/(?J)(?:(?<g>foo)|(?<g>bar))/', 'foo', $matches); 8 preg_match('/(?J)(?:(?<g>foo)|(?<g>bar))/', 'foo', $matches, 11 preg_match('/(?J)(?:(?<g>foo)|(?<g>bar))/', 'foo', $matches, 35 ["g"]=> 43 ["g"]=> 58 ["g"]=> 81 ["g"]=> 106 ["g"]=> 120 ["g"]=> 139 ["g"]=> [all …]
|
/PHP-8.0/ext/standard/tests/file/windows_mb_path/ |
H A D | test_cp932_1.phpt | 26 $item = "�e�X�g�}���`�o�C�g�E�p�X"; // cp932 string 49 getting basename of %s\�e�X�g�}���`�o�C�g�E�p�X42\�e�X�g�}���`�o�C�g�E�p�X4 50 string(%d) "�e�X�g�}���`�o�C�g�E�p�X4" 52 string(%d) "%s\�e�X�g�}���`�o�C�g�E�p�X42\�e�X�g�}���`�o�C�g�E�p�X4"
|
H A D | test_cp932_2.phpt | 26 $item = "�e�X�g�}���`�o�C�g�E�p�X"; // cp932 string 51 getting basename of %s\�e�X�g�}���`�o�C�g�E�p�X33 52 string(%d) "�e�X�g�}���`�o�C�g�E�p�X33" 54 string(%d) "%s\�e�X�g�}���`�o�C�g�E�p�X33"
|
H A D | test_cp932_3.phpt | 27 $item = "�e�X�g�}���`�o�C�g�E�p�X77"; // cp932 string 40 string(%d) "%s\�e�X�g�}���`�o�C�g�E�p�X77" 43 �e�X�g�}���`�o�C�g�E�p�X77
|
/PHP-8.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-8.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 …]
|
/PHP-8.0/ext/dom/tests/ |
H A D | DOM4_DOMNode_after_ns.phpt | 14 $root->setAttributeNS('http://www.w3.org/2000/xmlns/' ,'xmlns:g', 'http://base.google.com/ns/1.0'); 16 $item = $doc->createElementNS('http://base.google.com/ns/1.0', 'g:item_type', 'house'); 19 $item2 = $doc->createElementNS('http://base.google.com/ns/1.0', 'g:item_type', 'street'); 26 <element xmlns="http://www.w3.org/2005/Atom" xmlns:g="http://base.google.com/ns/1.0"> 27 <g:item_type>house</g:item_type> 28 <g:item_type>street</g:item_type>
|
H A D | DOM4_DOMNode_before_ns.phpt | 14 $root->setAttributeNS('http://www.w3.org/2000/xmlns/' ,'xmlns:g', 'http://base.google.com/ns/1.0'); 16 $item = $doc->createElementNS('http://base.google.com/ns/1.0', 'g:item_type', 'house'); 19 $item2 = $doc->createElementNS('http://base.google.com/ns/1.0', 'g:item_type', 'street'); 26 <element xmlns="http://www.w3.org/2005/Atom" xmlns:g="http://base.google.com/ns/1.0"> 27 <g:item_type>street</g:item_type> 28 <g:item_type>house</g:item_type>
|
H A D | DOM4_DOMNode_append_ns.phpt | 14 $root->setAttributeNS('http://www.w3.org/2000/xmlns/' ,'xmlns:g', 'http://base.google.com/ns/1.0'); 16 $item = $doc->createElementNS('http://base.google.com/ns/1.0', 'g:item_type', 'house'); 23 <element xmlns="http://www.w3.org/2005/Atom" xmlns:g="http://base.google.com/ns/1.0"> 24 <g:item_type>house</g:item_type>
|
H A D | DOM4_DOMNode_prepend_ns.phpt | 14 $root->setAttributeNS('http://www.w3.org/2000/xmlns/' ,'xmlns:g', 'http://base.google.com/ns/1.0'); 16 $item = $doc->createElementNS('http://base.google.com/ns/1.0', 'g:item_type', 'house'); 23 <element xmlns="http://www.w3.org/2005/Atom" xmlns:g="http://base.google.com/ns/1.0"> 24 <g:item_type>house</g:item_type>
|
/PHP-8.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(); 77 in g() 83 in g() 92 in g() 101 in g() 116 in g() 128 in g() [all …]
|
/PHP-8.0/ext/gmp/tests/ |
H A D | gmp_sub.phpt | 19 var_dump($g = gmp_sub(10000, 10001)); 20 var_dump(gmp_strval($g)); 21 var_dump($g = gmp_sub(10000, -1)); 22 var_dump(gmp_strval($g)); 25 var_dump($g = gmp_sub(10000, new stdclass)); 26 var_dump(gmp_strval($g)); 31 var_dump($g = gmp_sub(new stdclass, 100)); 32 var_dump(gmp_strval($g));
|
H A D | gmp_strval.phpt | 26 $g = gmp_init("9765456"); 27 var_dump(gmp_strval($g)); 29 var_dump(gmp_strval($g, -1)); 34 var_dump(gmp_strval($g, 100000)); 38 var_dump(gmp_strval($g, 10)); 40 $g = gmp_init("-3373333"); 41 var_dump(gmp_strval($g)); 43 var_dump(gmp_strval($g, -1)); 48 var_dump(gmp_strval($g, 100000)); 52 var_dump(gmp_strval($g, 10));
|
/PHP-8.0/ext/gd/libgd/ |
H A D | gd_rotate.c | 69 if (g>255) { in gdImageSkewX() 70 g = 255; in gdImageSkewX() 116 int i, iYPos=0, r, g, b, a; in gdImageSkewY() local 160 if (g>255) { in gdImageSkewY() 161 g = 255; in gdImageSkewY() 204 int c,r,g,b,a; in gdImageRotate90() local 229 g = gdImageGreen(src,c); in gdImageRotate90() 251 int c,r,g,b,a; in gdImageRotate180() local 276 g = gdImageGreen(src,c); in gdImageRotate180() 299 int c,r,g,b,a; in gdImageRotate270() local [all …]
|
H A D | gd_filter.c | 117 int r,g,b,a; in gdImageNegate() local 150 int r,g,b,a; in gdImageGrayScale() local 172 r = g = b = (int) (.299 * r + .587 * g + .114 * b); in gdImageGrayScale() 190 int r,g,b,a; in gdImageBrightness() local 214 g = g + brightness; in gdImageBrightness() 218 g = (g > 255)? 255 : ((g < 0)? 0:g); in gdImageBrightness() 235 int r,g,b,a; in gdImageContrast() local 271 gf = (double)g/255.0; in gdImageContrast() 307 int r,g,b,a; in gdImageColor() local 316 g = g + green; in gdImageColor() [all …]
|
/PHP-8.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());
|
/PHP-8.0/ext/gd/tests/ |
H A D | bug55005.phpt | 11 $g = imagecreate(300, 300); 12 $bgnd = imagecolorallocate($g, 255, 255, 255); 13 $fgnd = imagecolorallocate($g, 0, 0, 0); 15 fn () => imagefilledpolygon($g, array(100,10, 100,100, 180,100), 2, $fgnd), 16 fn () => imagepolygon($g, array(200,10, 200,100, 280,100), 2, $fgnd)
|
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 | 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, $red); 55 imagepng($g, "$cwd/bug43073.png");
|
H A D | bug48732-mb.phpt | 13 $g = imagecreate(100, 50); 14 $bgnd = imagecolorallocate($g, 255, 255, 255); 15 $black = imagecolorallocate($g, 0, 0, 0); 16 $bbox = imagettftext($g, 12, 0, 0, 20, $black, $font, "ABCEDFGHIJKLMN\nopqrstu\n"); 17 imagepng($g, "$cwd/bug48732私はガラスを食べられます.png");
|
/PHP-8.0/ext/reflection/tests/ |
H A D | 028.phpt | 10 $g = foo(); 11 $g->next(); 14 $r = new ReflectionGenerator($g);
|
H A D | 027.phpt | 10 $g = foo(); 11 $r = new ReflectionGenerator($g); 13 $g->next();
|