/PHP-5.3/ext/spl/tests/ |
H A D | iterator_028.phpt | 10 echo "===?===\n"; 12 foreach($it as $v) echo $it->getDepth() . ": $v\n"; 14 echo "===2===\n"; 17 foreach($it as $v) echo $it->getDepth() . ": $v\n"; 19 echo "===X===\n"; 22 foreach($it as $v) echo $it->getDepth() . ": $v\n"; 24 echo "===3===\n"; 27 foreach($it as $v) echo $it->getDepth() . ": $v\n"; 29 echo "===5===\n"; 34 echo "===0===\n"; [all …]
|
H A D | iterator_013.phpt | 6 echo "===Empty===\n"; 12 echo "$key=>$val\n"; 15 echo "===Append===\n"; 21 echo "$key=>$val\n"; 24 echo "===Rewind===\n"; 28 echo "$key=>$val\n"; 31 echo "===Append===\n"; 37 echo "$key=>$val\n"; 40 echo "===Rewind===\n"; 44 echo "$key=>$val\n";
|
H A D | iterator_020.phpt | 6 echo "===Empty===\n"; 12 echo "$key=>$val\n"; 15 echo "===Append===\n"; 21 echo "$key=>$val\n"; 24 echo "===Rewind===\n"; 28 echo "$key=>$val\n"; 31 echo "===Append===\n"; 37 echo "$key=>$val\n"; 40 echo "===Rewind===\n"; 44 echo "$key=>$val\n";
|
/PHP-5.3/tests/lang/ |
H A D | static_basic_001.phpt | 6 echo "\nSame variable used as static and non static.\n"; 8 echo "---------\n"; 10 echo "$a\n"; 12 echo "$a\n"; 24 echo "Unitialised : $a\n"; 25 echo "Initialised to 10: $b\n"; 26 echo "Initialised to 20: $c\n"; 27 echo "Unitialised : $d\n"; 28 echo "Initialised to 30: $e\n"; 40 echo "\nUsing static keyword at global scope\n"; [all …]
|
H A D | bug24951.phpt | 12 echo "Hello from t1 1 "; 13 echo "Hello from t1 2 "; 19 echo "Hello from t2 1 "; 21 echo "Hello from t2 2 "; 27 echo "Hello from t3 1 "; 29 echo "Hello from t3 2 "; 33 t1(); echo "\n"; 34 t2(); echo "\n"; 35 t3(); echo "\n";
|
/PHP-5.3/ext/ereg/tests/ |
H A D | 005.phpt | 5 echo ereg(".*(is).*(is).*",$a,$registers); 6 echo "\n"; 7 echo $registers[0]; 8 echo "\n"; 9 echo $registers[1]; 10 echo "\n"; 11 echo $registers[2]; 12 echo "\n";
|
/PHP-5.3/ext/gd/tests/ |
H A D | jpg2gd.phpt | 17 echo "JPEG to GD1 conversion: "; 18 echo imagegd(imagecreatefromjpeg($cwd . "/conv_test.jpeg"), $cwd . "/test.gd1") ? 'ok' : 'failed'; 19 echo "\n"; 21 echo "JPEG to GD2 conversion: "; 22 echo imagegd2(imagecreatefromjpeg($cwd . "/conv_test.jpeg"), $cwd . "/test.gd2") ? 'ok' : 'failed'; 23 echo "\n"; 25 echo "GD1 to JPEG conversion: "; 26 echo imagejpeg(imagecreatefromgd($cwd . "/test.gd1"), $cwd . "/test_gd1.jpeg") ? 'ok' : 'failed'; 27 echo "\n"; 29 echo "GD2 to JPEG conversion: "; [all …]
|
H A D | png2gd.phpt | 17 echo "PNG to GD1 conversion: "; 18 echo imagegd(imagecreatefrompng($cwd . "/conv_test.png"), $cwd . "/test.gd1") ? 'ok' : 'failed'; 19 echo "\n"; 21 echo "PNG to GD2 conversion: "; 22 echo imagegd2(imagecreatefrompng($cwd . "/conv_test.png"), $cwd . "/test.gd2") ? 'ok' : 'failed'; 23 echo "\n"; 25 echo "GD1 to PNG conversion: "; 26 echo imagepng(imagecreatefromgd($cwd . "/test.gd1"), $cwd . "/test_gd1.png") ? 'ok' : 'failed'; 27 echo "\n"; 29 echo "GD2 to PNG conversion: "; [all …]
|
H A D | jpeg2png.phpt | 20 echo "PNG to JPEG conversion: "; 21 …echo imagejpeg(imagecreatefrompng($cwd . "/conv_test.png"), $cwd . "/test_jpeg.jpeg") ? 'ok' : 'fa… 22 echo "\n"; 24 echo "Generated JPEG to PNG conversion: "; 25 …echo imagepng(imagecreatefromjpeg($cwd . "/test_jpeg.jpeg"), $cwd . "/test_jpng.png") ? 'ok' : 'fa… 26 echo "\n"; 28 echo "JPEG to PNG conversion: "; 29 …echo imagepng(imagecreatefromjpeg($cwd . "/conv_test.jpeg"), $cwd . "/test_png.png") ? 'ok' : 'fai… 30 echo "\n"; 32 echo "Generated PNG to JPEG conversion: "; [all …]
|
/PHP-5.3/ext/oci8/tests/ |
H A D | lob_031.phpt | 38 echo " 1. ".$row[0]->tell(). "\n"; 41 echo " 2. ".$row[0]->tell(). "\n"; 44 echo " 3. ".$row[0]->tell(). "\n"; 47 echo " 4. ".$row[0]->tell(). "\n"; 50 echo " 5. ".$row[0]->tell(). "\n"; 54 echo " 6. ".$row[0]->tell(). "\n"; 57 echo " 8. ".$row[0]->tell(). "\n"; 61 echo " 9. ".$row[0]->tell(). "\n"; 64 echo "10. ".$row[0]->tell(). "\n"; 67 echo "11. ".$row[0]->tell(). "\n"; [all …]
|
/PHP-5.3/ext/standard/tests/strings/ |
H A D | money_format_basic1.phpt | 29 echo gettype(money_format('%14#8.2n', $value))."\n"; 33 echo "Format again but with ( for negative values\n"; 34 echo gettype(money_format('%(14#8.2n', $value))."\n"; 38 echo "Format with 0 for padding character\n"; 39 echo gettype(money_format('%=014#8.2n', $value))."\n"; 43 echo "Format again with * for padding character\n"; 44 echo gettype(money_format('%=*14#8.2n', $value))."\n"; 48 echo "Format again but disable grouping character\n"; 49 echo gettype(money_format('%=*^14#8.2n', $value))."\n"; 53 echo "Format again suppress currency symbol\n"; [all …]
|
H A D | md5.phpt | 5 echo md5("")."\n"; 6 echo md5("a")."\n"; 7 echo md5("abc")."\n"; 8 echo md5("message digest")."\n"; 9 echo md5("abcdefghijklmnopqrstuvwxyz")."\n"; 10 echo md5("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789")."\n"; 11 echo md5("12345678901234567890123456789012345678901234567890123456789012345678901234567890")."\n";
|
H A D | strip_tags_basic1.phpt | 18 "<?php echo hello ?>", 19 '<?php echo hello ?>', 20 "<? echo hello ?>", 21 '<? echo hello ?>', 22 "<% echo hello %>", 23 '<% echo hello %>', 24 "<script language=\"PHP\"> echo hello </script>", 38 echo "-- Iteration $iteration --\n"; 43 echo "Done"; 64 string(12) " echo hello " [all …]
|
/PHP-5.3/ext/zip/tests/ |
H A D | oo_extract.phpt | 15 echo "open failed.\n"; 21 echo "failed. mkdir\n"; 25 echo "failed. mkdir foobar\n"; 29 echo "failed. extract foobar/baz\n"; 35 echo "failed. bar file\n"; 37 echo file_get_contents($dirname . '__oo_extract_tmp/bar') . "\n"; 41 echo "failed. foo file\n"; 43 echo file_get_contents($dirname . '__oo_extract_tmp/foo') . "\n"; 50 echo "failed. extract bar file\n"; 58 echo "failed. extract bar file\n"; [all …]
|
/PHP-5.3/ext/standard/tests/array/ |
H A D | sizeof_basic1.phpt | 23 echo "default mode: "; 25 echo "\n"; 26 echo "COUNT_NORMAL mode: "; 28 echo "\n"; 29 echo "COUNT_RECURSIVE mode: "; 31 echo "\n"; 34 echo "default mode: "; 36 echo "\n"; 37 echo "COUNT_NORMAL mode: "; 39 echo "\n"; [all …]
|
/PHP-5.3/ext/phar/tests/ |
H A D | phar_stub.phpt | 24 echo fread($fp, strlen($file)) . "\n"; 32 echo fread($fp, strlen($file)) . "\n"; 47 echo fread($fp, strlen($file)) . "\n"; 53 echo file_get_contents($fname2) . "\n"; 62 echo fread($fp, strlen($file)) . "\n"; 64 echo 'failed - copied booya'; 71 echo fread($fp, strlen($file)) . "\n"; 73 echo 'failed - copied booya'; 86 <?php echo "first stub\n"; __HALT_COMPILER(); ?> 88 <?php echo "third stub\n"; __HALT_COMPILER(); ?> [all …]
|
/PHP-5.3/ext/standard/tests/assert/ |
H A D | assert_variation.phpt | 13 echo "f1 called\n"; 17 echo "f2 called\n"; 21 echo "f3 called\n"; 27 echo "Class assertion failed $line, \"$myev\"\n"; 34 echo"\n"; 41 echo"\n"; 48 echo"\n"; 56 echo"\n"; 58 echo "Reset callback options to use a class method \n"; 63 echo"\n"; [all …]
|
/PHP-5.3/ext/standard/tests/general_functions/ |
H A D | 009.phpt | 9 echo test(""); 10 echo test("a"); 11 echo test("abc"); 12 echo test("message digest"); 13 echo test("abcdefghijklmnopqrstuvwxyz"); 14 echo test("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"); 15 echo test("12345678901234567890123456789012345678901234567890123456789012345678901234567890");
|
H A D | 007.phpt | 9 echo test(""); 10 echo test("a"); 11 echo test("abc"); 12 echo test("message digest"); 13 echo test("abcdefghijklmnopqrstuvwxyz"); 14 echo test("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"); 15 echo test("12345678901234567890123456789012345678901234567890123456789012345678901234567890");
|
/PHP-5.3/ext/standard/tests/math/ |
H A D | lcg_value_basic.phpt | 6 echo "MATHS test script started\n"; 9 echo "\n lcg_value tests...\n"; 19 echo "FAILED\n"; 21 echo "PASSED\n"; 24 echo "\n lcg_value error cases..spurious args get ignored\n"; 28 echo "FAILED\n"; 30 echo "PASSED\n"; 35 echo "FAILED\n"; 37 echo "PASSED\n"; 40 echo "MATHS test script completed\n";
|
/PHP-5.3/ext/standard/tests/class_object/ |
H A D | forward_static_call_001.phpt | 10 echo static::NAME, "\n"; 19 echo self::NAME, "\n"; 24 echo self::NAME, "\n"; 29 echo self::NAME, "\n"; 40 echo self::NAME, "\n"; 46 echo "-\n"; 48 echo "-\n"; 50 echo "-\n"; 52 echo "-\n"; 54 echo "-\n"; [all …]
|
/PHP-5.3/tests/output/ |
H A D | ob_012.phpt | 5 echo 0; 10 echo 1; 12 echo 2; 14 echo 3; 17 echo 4; 19 echo $ob;
|
/PHP-5.3/ext/phar/tests/zip/ |
H A D | phar_stub.phpt | 23 echo $phar->getStub(); 29 echo $phar->getStub(); 42 echo $phar->getStub(); 47 echo file_get_contents($fname3) . "\n"; 54 echo $phar->getStub(); 58 echo $phar->getStub(); 69 <?php echo "first stub\n"; __HALT_COMPILER(); ?> 70 <?php echo "second stub\n"; __HALT_COMPILER(); ?> 71 <?php echo "third stub\n"; __HALT_COMPILER(); ?> 73 <?php echo "third stub\n"; __HALT_COMPILER(); ?> [all …]
|
/PHP-5.3/ext/phar/tests/tar/ |
H A D | phar_stub.phpt | 23 echo $phar->getStub(); 29 echo $phar->getStub(); 42 echo $phar->getStub(); 47 echo file_get_contents($fname3) . "\n"; 54 echo $phar->getStub(); 58 echo $phar->getStub(); 69 <?php echo "first stub\n"; __HALT_COMPILER(); ?> 70 <?php echo "second stub\n"; __HALT_COMPILER(); ?> 71 <?php echo "third stub\n"; __HALT_COMPILER(); ?> 73 <?php echo "third stub\n"; __HALT_COMPILER(); ?> [all …]
|
/PHP-5.3/ext/mbstring/tests/ |
H A D | mb_ereg-compat-02.phpt | 12 echo mb_ereg(".*(is).*(is).*",$a,$registers); 13 echo "\n"; 14 echo $registers[0]; 15 echo "\n"; 16 echo $registers[1]; 17 echo "\n"; 18 echo $registers[2]; 19 echo "\n";
|