Home
last modified time | relevance | path

Searched refs:echo (Results 101 – 125 of 8742) sorted by relevance

12345678910>>...350

/PHP-7.1/Zend/tests/closures/
H A Dclosure_from_callable_error.phpt8 echo 'Cannot access privateInstance method statically'."\n";
11 echo "Test failed to fail and return was : ".var_export($fn, true)."\n";
33 echo 'Cannot access privateInstance method'."\n";
45 echo 'SubClass cannot access private instance method'."\n";
48 echo "Test failed to fail, closure is : ".var_export($fn, true)."\n";
57 echo 'Cannot access private static function of instance'."\n";
69 echo 'Cannot access private static method statically'."\n";
93 echo 'Non-existent method should fail'."\n";
105 echo 'Non-existent class should fail'."\n";
117 echo 'Non-existent function should fail'."\n";
[all …]
/PHP-7.1/ext/gd/tests/
H A Djpg2gd-mb.phpt17 echo "JPEG to GD1 conversion: ";
18echo imagegd(imagecreatefromjpeg($cwd . "/conv_test私はガラスを食べられます.jpeg"), $cwd . "/test私はガラスを食べられます.…
19 echo "\n";
21 echo "JPEG to GD2 conversion: ";
23 echo "\n";
25 echo "GD1 to JPEG conversion: ";
26echo imagejpeg(imagecreatefromgd($cwd . "/test私はガラスを食べられます.gd1"), $cwd . "/test_gd1.jpeg") ? 'ok' …
27 echo "\n";
29 echo "GD2 to JPEG conversion: ";
30echo imagejpeg(imagecreatefromgd2($cwd . "/test私はガラスを食べられます.gd2"), $cwd . "/test_gd2.jpeg") ? 'ok'…
[all …]
H A Djpg2gd.phpt17 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 Dpng2gd.phpt17 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 …]
/PHP-7.1/Zend/tests/
H A Dforeach_017.phpt9 echo "$v\n";
15 echo "\n";
21 echo "$v\n";
27 echo "\n";
33 echo "$v\n";
39 echo "\n";
47 echo "$v\n";
53 echo "\n";
59 echo "$v\n";
65 echo "\n";
[all …]
H A Dclosure_041.phpt11 echo "scoped to A: "; var_dump(isset(A::$priv));
12 echo "bound: ", isset($this)?get_class($this):"no";
16 echo "scoped to A: "; var_dump(isset(A::$priv));
24 echo "scoped to A: "; var_dump(isset(A::$priv));
41 echo "Before binding", "\n";
42 $staticUnscoped(); echo "\n";
43 $nonstaticUnscoped(); echo "\n";
44 $staticScoped(); echo "\n";
45 $nonstaticScoped(); echo "\n";
47 echo "After binding, no instance", "\n";
[all …]
/PHP-7.1/ext/oci8/tests/
H A Dlob_031.phpt38 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 …]
H A Dini_1.phpt24 echo "Test 1 - check initialization\n";
26 echo 'oci8.max_persistent = ' . ini_get('oci8.max_persistent') . "\n";
28 echo 'oci8.ping_interval = ' . ini_get('oci8.ping_interval') . "\n";
29 echo 'oci8.connection_class = ' . ini_get('oci8.connection_class') . "\n";
30 echo 'oci8.events = ' . ini_get('oci8.events') . "\n";
32 echo 'oci8.default_prefetch = ' . ini_get('oci8.default_prefetch') . "\n";
35 echo "Test 2 - check what can be changed at runtime\n";
39 echo 'oci8.max_persistent = ' . ini_get('oci8.max_persistent') . "\n";
43 echo 'oci8.ping_interval = ' . ini_get('oci8.ping_interval') . "\n";
45 echo 'oci8.connection_class = ' . ini_get('oci8.connection_class') . "\n";
[all …]
/PHP-7.1/ext/standard/tests/general_functions/
H A D009.phpt9 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 D007.phpt9 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-7.1/ext/date/tests/
H A Dbug17988.phpt7 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728"))."\n";
8 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728 GMT"))."\n";
9 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728 EDT"))."\n";
10 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-00"))."\n";
11 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728+00"))."\n";
12 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-04"))."\n";
13 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728+04"))."\n";
14 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-0300"))."\n";
15 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728+0300"))."\n";
16 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-0330"))."\n";
[all …]
/PHP-7.1/ext/zip/tests/
H A Doo_extract.phpt15 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-7.1/ext/standard/tests/array/
H A Dsizeof_basic1.phpt23 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-7.1/ext/standard/tests/strings/
H A Dmoney_format_basic1.phpt29 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 Dmd5.phpt5 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 Dstrip_tags_basic1.phpt18 "<?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-7.1/ext/phar/tests/
H A Dphar_stub.phpt24 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-7.1/ext/standard/tests/assert/
H A Dassert_variation.phpt13 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-7.1/sapi/phpdbg/tests/
H A Dclean_001.phpt23 >00004: echo 2;
24 00005: echo 3;
28 >00009: echo 4;
39 >00004: echo 2;
40 00005: echo 3;
44 >00009: echo 4;
53 echo 1;
54 echo 2;
55 echo 3;
59 echo 4;
/PHP-7.1/ext/spl/tests/
H A Diterator_013.phpt6 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 Diterator_020.phpt6 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-7.1/ext/standard/tests/math/
H A Dlcg_value_basic.phpt6 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-7.1/tests/lang/
H A Dbug24951.phpt12 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-7.1/tests/output/
H A Dob_012.phpt5 echo 0;
10 echo 1;
12 echo 2;
14 echo 3;
17 echo 4;
19 echo $ob;
/PHP-7.1/ext/standard/tests/class_object/
H A Dforward_static_call_001.phpt10 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 …]

Completed in 55 milliseconds

12345678910>>...350