/PHP-5.6/ext/standard/tests/math/ |
H A D | atanh_basic.phpt | 15 echo "atanh 0.46211715726001 = "; 19 echo "Pass\n"; 22 echo "Fail\n"; 25 echo "atanh 0.99505475368673 = "; 29 echo "Pass\n"; 32 echo "Fail\n";
|
/PHP-5.6/Zend/tests/generators/finally/ |
H A D | return_return.phpt | 9 echo "before return\n"; 11 echo "after return\n"; 13 echo "before return in inner finally\n"; 15 echo "after return in inner finally\n"; 18 echo "outer finally run\n"; 21 echo "code after finally\n";
|
/PHP-5.6/ext/date/tests/ |
H A D | rfc-datetime_and_daylight_saving_time-type2.phpt | 51 echo "\n"; 60 echo 'fa1 ' . $start->format($date_format) . " + $interval_spec = " 93 echo "\n"; 102 echo 'fs1 ' . $end->format($date_format) . " - $interval_spec = " 108 echo 'fs2 ' . $end->format($date_format) . " - $interval_spec = " 114 echo 'fs3 ' . $end->format($date_format) . " - $interval_spec = " 120 echo 'fs4 ' . $end->format($date_format) . " - $interval_spec = " 126 echo 'fs5 ' . $end->format($date_format) . " - $interval_spec = " 141 echo "\n"; 187 echo "\n"; [all …]
|
H A D | DateTime_data-fall-type3-type3.inc | 23 echo "test_time_fall_type3_prev_type3_prev: "; 28 echo "test_time_fall_type3_prev_type3_dt: "; 45 echo "test_time_fall_type3_prev_type3_st: "; 50 echo "test_time_fall_type3_prev_type3_post: "; 55 echo "test_time_fall_type3_dt_type3_prev: "; 60 echo "test_time_fall_type3_dt_type3_dt: "; 65 echo "test_time_fall_type3_dt_type3_redodt: "; 77 echo "test_time_fall_type3_dt_type3_st: "; 82 echo "test_time_fall_type3_dt_type3_post: "; 168 echo "test_time_fall_type3_st_type3_dt: "; [all …]
|
H A D | bug21966.phpt | 7 echo '27/3/04 = ' . strval(mktime(0,0,0,3,27,2004)) . "\n"; // 1080345600 8 echo '28/3/04 = ' . strval(mktime(0,0,0,3,28,2004)) . "\n"; // -3662 - should be 108043200 9 echo '28/3/04 = ' . strval(mktime(2,0,0,3,28,2004)) . "\n"; // 1080435600 10 echo '29/3/04 = ' . strval(mktime(0,0,0,3,29,2004)) . "\n"; // 1080514800 11 echo '30/3/04 = ' . strval(mktime(0,0,0,3,30,2004)) . "\n"; // 1080601200
|
H A D | bug37514.phpt | 6 echo date('r', strtotime('May 18th 5:05', 1168156376)), "\n"; 7 echo date('r', strtotime('May 18th 5:05pm', 1168156376)), "\n"; 8 echo date('r', strtotime('May 18th 5:05 pm', 1168156376)), "\n"; 9 echo date('r', strtotime('May 18th 5:05am', 1168156376)), "\n"; 10 echo date('r', strtotime('May 18th 5:05 am', 1168156376)), "\n"; 11 echo date('r', strtotime('May 18th 2006 5:05pm', 1168156376)), "\n";
|
H A D | sunfuncts.phpt | 9 echo date_sunrise(mktime(1,1,1,$a,1,2003),SUNFUNCS_RET_TIMESTAMP,31.76670,35.23330,90.83,2)." "; 10 echo date_sunrise(mktime(1,1,1,$a,1,2003),SUNFUNCS_RET_STRING,31.76670,35.23330,90.83,2)." "; 11 echo date_sunrise(mktime(1,1,1,$a,1,2003),SUNFUNCS_RET_DOUBLE,31.76670,35.23330,90.83,2)."\n"; 13 echo date_sunset(mktime(1,1,1,$a,1,2003),SUNFUNCS_RET_TIMESTAMP,31.76670,35.23330,90.83,2)." "; 14 echo date_sunset(mktime(1,1,1,$a,1,2003),SUNFUNCS_RET_STRING,31.76670,35.23330,90.83,2)." "; 15 echo date_sunset(mktime(1,1,1,$a,1,2003),SUNFUNCS_RET_DOUBLE,31.76670,35.23330,90.83,2)."\n";
|
H A D | DateTime_extends_basic1.phpt | 9 echo "*** Testing basic DateTime inheritance() ***\n"; 22 echo "\n-- Create an instance of DateTimeExt --\n"; 25 echo "\n-- Invoke __toString --\n"; 26 echo $d . "\n"; 28 echo "\n -- modify date and time --\n"; 32 echo "\n-- Invoke __toString again --\n"; 33 echo $d . "\n";
|
/PHP-5.6/ext/standard/tests/strings/ |
H A D | bug36392.phpt | 5 echo sprintf("%e\n", 1.123456789); 6 echo sprintf("%.10e\n", 1.123456789); 7 echo sprintf("%.0e\n", 1.123456789); 8 echo sprintf("%.1e\n", 1.123456789); 9 echo sprintf("%5.1e\n", 1.123456789);
|
/PHP-5.6/ext/sysvmsg/tests/ |
H A D | 004.phpt | 11 echo "Set mode:\n"; 14 echo "Did really work:\n"; 17 echo "Set uid:\n"; // same as the running user to make it succeed 20 echo "Did really work:\n"; 23 echo "Set gid:\n"; // same as the running user to make it succeed 26 echo "Did really work:\n"; 29 echo "Set smaller qbytes:\n"; 33 echo "Did really work:\n"; 37 echo "BAD: queue removal failed\n"; 40 echo "Done\n";
|
/PHP-5.6/ext/standard/tests/assert/ |
H A D | assert_basic4.phpt | 14 echo "Initial values: assert_options(ASSERT_ACTIVE) => [".assert_options(ASSERT_ACTIVE)."]\n"; 15 echo "Initial values: assert_options(ASSERT_WARNING) => [".assert_options(ASSERT_WARNING)."]\n"; 16 echo "Initial values: assert_options(ASSERT_BAIL) => [".assert_options(ASSERT_BAIL)."]\n"; 17 echo "Initial values: assert_options(ASSERT_QUIET_EVAL) => [".assert_options(ASSERT_QUIET_EVAL)."]\… 18 echo "Initial values: assert_options(ASSERT_CALLBACK) => [".assert_options(ASSERT_CALLBACK)."]\n"; 21 echo "Initial values: ini.get(\"assert.active\") => [".ini_get("assert.active")."]\n"; 22 echo "Initial values: ini.get(\"assert.warning\") => [".ini_get("assert.warning")."]\n"; 23 echo "Initial values: ini.get(\"assert.bail\") => [".ini_get("assert.bail")."]\n"; 24 echo "Initial values: ini.get(\"assert.quiet_eval\") => [".ini_get("assert.quiet_eval")."]\n"; 25 echo "Initial values: ini.get(\"assert.callback\") => [".ini_get("assert.callback")."]\n\n";
|
/PHP-5.6/tests/output/ |
H A D | ob_get_contents_basic_001.phpt | 14 echo "*** Testing ob_get_contents() : basic functionality ***\n"; 17 echo "\n-- Testing ob_get_contents() function with Zero arguments --\n"; 22 echo "Hello World\n"; 28 echo "\ncheck that we dont have a reference\n"; 30 echo "Hello World\n"; 36 echo "\ncheck that contents disappear after a flush\n"; 38 echo "Hello World\n"; 43 echo "\ncheck that no contents found after an end\n"; 45 echo "Hello World\n"; 50 echo "Done\n";
|
/PHP-5.6/ext/dba/tests/ |
H A D | dba_handlers.phpt | 13 echo "database handler: $handler\n"; 23 echo "Success: flatfile enabled\n"; 28 echo "Test 1\n"; 32 echo "Test 2\n"; 36 echo "Test 3\n"; 40 echo "Test 4\n"; 44 echo "Test 5 - full info\n"; 48 echo "Success: flatfile enabled\n";
|
/PHP-5.6/ext/standard/tests/array/ |
H A D | count_basic.phpt | 15 echo "*** Testing count() : basic functionality ***\n"; 17 echo "\n-- One Dimensional Array: --\n"; 21 echo "\n-- Two Dimensional Array: --\n"; 23 echo "\$mode = COUNT_NORMAL: "; 25 echo "\$mode = 0: "; 27 echo "\$mode = COUNT_RECURSIVE: "; 29 echo "\$mode = 1: "; 32 echo "Done";
|
/PHP-5.6/ext/standard/tests/file/windows_acls/ |
H A D | bug44859.phpt | 20 echo "Testing file:\n"; 26 echo 'Iteration #' . $i++ . ': '; 28 echo "passed.\n"; 31 echo "failed.\n"; 36 echo "Testing directory:\n"; 42 echo 'Iteration #' . $i++ . ': '; 44 echo "passed.\n"; 47 echo "failed.\n";
|
H A D | bug44859_2.phpt | 20 echo "Testing file:\n"; 26 echo 'Iteration #' . $i++ . ': '; 28 echo "passed.\n"; 31 echo "failed.\n"; 36 echo "Testing directory:\n"; 42 echo 'Iteration #' . $i++ . ': '; 44 echo "passed.\n"; 47 echo "failed.\n";
|
/PHP-5.6/Zend/tests/ |
H A D | jump05.phpt | 9 echo "1: ok\n"; 12 echo "2: ok\n"; 15 echo "bug\n"; 19 echo "bug\n"; 21 echo "3: ok\n";
|
/PHP-5.6/ext/phar/tests/ |
H A D | phar_convert_again.phpt | 28 echo $zip->getPath() . "\n"; 30 echo $tgz->getPath() . "\n"; 32 echo $tbz->getPath() . "\n"; 36 echo $e->getMessage() . "\n"; 41 echo $phar->getPath() . "\n"; 45 echo $zip->getPath() . "\n"; 48 echo $data->getPath() . "\n"; 53 echo $e->getMessage() . "\n"; 58 echo $e->getMessage() . "\n"; 66 echo $tar->getPath() . "\n"; [all …]
|
/PHP-5.6/tests/classes/ |
H A D | iterators_003.phpt | 13 echo __METHOD__ . "\n"; 17 echo __METHOD__ . "\n"; 21 echo __METHOD__ . ' = ' .($more ? 'true' : 'false') . "\n"; 25 echo __METHOD__ . "\n"; 29 echo __METHOD__ . "\n"; 42 echo __METHOD__ . "\n"; 51 echo "continue outer\n"; 56 echo "continue inner\n"; 60 echo "break inner\n"; 63 echo "double:$v:$w\n"; [all …]
|
/PHP-5.6/ext/filter/tests/ |
H A D | 037.phpt | 12 echo filter_input(INPUT_GET, 'a', FILTER_CALLBACK, array("options"=>'myfunc')); 13 echo "\n"; 14 echo filter_input(INPUT_GET, 'b', FILTER_VALIDATE_INT); 15 echo "\n"; 18 echo filter_var($data, FILTER_CALLBACK, array("options"=>'myfunc')); 19 echo "\n";
|
/PHP-5.6/ext/hash/tests/ |
H A D | tiger.phpt | 7 echo hash('tiger192,3', ''),"\n"; 8 echo hash('tiger192,3', 'abc'),"\n"; 9 echo hash('tiger192,3', str_repeat('a', 63)),"\n"; 10 echo hash('tiger192,3', str_repeat('abc', 61)),"\n"; 11 echo hash('tiger192,3', str_repeat('abc', 64)),"\n";
|
/PHP-5.6/ext/reflection/tests/ |
H A D | included4.inc | 2 echo __FILE__ . "\n"; 3 echo __LINE__ . "\n"; 6 echo __FILE__ . "\n"; 7 echo __LINE__ . "\n";
|
/PHP-5.6/ext/pcntl/tests/ |
H A D | 002.phpt | 25 echo "signo == SIGTERM\n"; 27 echo "code === SI_USER || SI_NOINFO\n"; 37 echo "signo == SIGCHLD\n"; 39 echo "code === CLD_KILLED\n"; 41 echo "signo === SIGCHLD\n"; 43 echo "signo === uid\n"; 45 echo "signo === pid\n"; 51 echo "sigprocmask with invalid arguments\n"; 59 echo "Error triggered\n"; 60 echo "bool(false)\n"; [all …]
|
/PHP-5.6/ext/sockets/tests/ |
H A D | socket_import_stream-4-win.phpt | 19 echo "\n"; 22 echo "socket_set_block "; 24 echo "\n"; 27 echo "\n"; 29 echo "\n"; 32 echo "normal\n"; 37 echo "\nunset stream\n"; 43 echo "\nunset socket\n"; 49 echo "\nclose stream\n"; 55 echo "\nclose socket\n"; [all …]
|
/PHP-5.6/ext/xml/tests/ |
H A D | xml_set_notation_decl_handler_basic.phpt | 22 echo "unparsed_entity_decl_handler called\n"; 23 echo "...Entity name=" . $entity_name . "\n"; 24 echo "...Base=" . $base . "\n"; 25 echo "...System ID=" . $system_ID . "\n"; 26 echo "...Public ID=" . $public_ID . "\n"; 32 echo "notation_decl_handler called\n"; 33 echo "...Name=" . $name . "\n"; 34 echo "...Base=" . $base . "\n"; 35 echo "...System ID=" . $system_ID . "\n"; 36 echo "...Public ID=" . $public_ID . "\n"; [all …]
|