From 82cc51166626bd918a8bce37a7470d03a3c91ba9 Mon Sep 17 00:00:00 2001 From: Paul Tarjan Date: Tue, 23 Apr 2013 16:12:20 -0700 Subject: [PATCH] import zend session tests --- hphp/test/zend/bad/ext-session/bug53141.php | 19 + .../zend/bad/ext-session/bug53141.php.expectf | 1 + .../session_cache_expire_variation2.php | 24 + ...ession_cache_expire_variation2.php.expectf | 9 + .../session_cache_expire_variation3.php | 27 + ...ession_cache_expire_variation3.php.expectf | 13 + .../session_cache_limiter_error.php | 89 +++ .../session_cache_limiter_error.php.expectf | 75 +++ .../session_cache_limiter_variation3.php | 23 + ...ssion_cache_limiter_variation3.php.expectf | 9 + .../bad/ext-session/session_commit_error.php | 89 +++ .../session_commit_error.php.expectf | 74 +++ .../ext-session/session_commit_variation4.php | 31 + .../session_commit_variation4.php.expectf | 17 + .../bad/ext-session/session_decode_basic.php | 93 +++ .../session_decode_basic.php.expectf | 173 ++++++ .../bad/ext-session/session_decode_error.php | 91 +++ .../session_decode_error.php.expectf | 125 ++++ .../bad/ext-session/session_decode_error2.php | 25 + .../session_decode_error2.php.expectf | 583 ++++++++++++++++++ .../ext-session/session_decode_variation1.php | 28 + .../session_decode_variation1.php.expectf | 154 +++++ .../ext-session/session_decode_variation2.php | 25 + .../session_decode_variation2.php.expectf | 46 ++ .../bad/ext-session/session_destroy_error.php | 89 +++ .../session_destroy_error.php.expectf | 98 +++ .../session_destroy_variation1.php | 22 + .../session_destroy_variation1.php.expectf | 12 + .../session_destroy_variation3.php | 24 + .../session_destroy_variation3.php.expectf | 10 + .../bad/ext-session/session_encode_error.php | 91 +++ .../session_encode_error.php.expectf | 98 +++ .../bad/ext-session/session_encode_error2.php | 91 +++ .../session_encode_error2.php.expectf | 139 +++++ .../ext-session/session_encode_variation1.php | 25 + .../session_encode_variation1.php.expectf | 13 + .../ext-session/session_encode_variation4.php | 24 + .../session_encode_variation4.php.expectf | 5 + .../ext-session/session_encode_variation5.php | 24 + .../session_encode_variation5.php.expectf | 5 + .../ext-session/session_encode_variation6.php | 28 + .../session_encode_variation6.php.expectf | 14 + .../session_get_cookie_params_error.php | 88 +++ ...ession_get_cookie_params_error.php.expectf | 98 +++ .../zend/bad/ext-session/session_id_basic.php | 25 + .../ext-session/session_id_basic.php.expectf | 11 + .../zend/bad/ext-session/session_id_error.php | 89 +++ .../ext-session/session_id_error.php.expectf | 75 +++ .../bad/ext-session/session_id_error2.php | 24 + .../ext-session/session_id_error2.php.expectf | 10 + .../bad/ext-session/session_id_error3.php | 51 ++ .../ext-session/session_id_error3.php.expectf | 21 + .../ext-session/session_module_name_error.php | 88 +++ .../session_module_name_error.php.expectf | 98 +++ .../session_module_name_variation1.php | 20 + ...session_module_name_variation1.php.expectf | 8 + .../session_regenerate_id_basic.php | 25 + .../session_regenerate_id_basic.php.expectf | 11 + .../session_regenerate_id_error.php | 89 +++ .../session_regenerate_id_error.php.expectf | 76 +++ .../session_regenerate_id_variation1.php | 25 + ...ssion_regenerate_id_variation1.php.expectf | 11 + .../session_set_cookie_params_error.php | 93 +++ ...ession_set_cookie_params_error.php.expectf | 200 ++++++ .../session_set_save_handler_error.php | 89 +++ ...session_set_save_handler_error.php.expectf | 98 +++ .../session_set_save_handler_error2.php | 36 ++ ...ession_set_save_handler_error2.php.expectf | 19 + .../session_set_save_handler_error4.php | 24 + ...ession_set_save_handler_error4.php.expectf | 6 + .../session_set_save_handler_variation1.php | 22 + ...on_set_save_handler_variation1.php.expectf | 10 + .../bad/ext-session/session_start_error.php | 90 +++ .../session_start_error.php.expectf | 98 +++ .../ext-session/session_start_variation1.php | 22 + .../session_start_variation1.php.expectf | 11 + .../ext-session/session_start_variation3.php | 27 + .../session_start_variation3.php.expectf | 14 + .../ext-session/session_start_variation8.php | 21 + .../session_start_variation8.php.expectf | 7 + .../zend/bad/ext-session/session_status.php | 14 + .../ext-session/session_status.php.expectf | 4 + .../bad/ext-session/session_unset_basic.php | 23 + .../session_unset_basic.php.expectf | 13 + .../bad/ext-session/session_unset_error.php | 89 +++ .../session_unset_error.php.expectf | 74 +++ .../ext-session/session_write_close_error.php | 89 +++ .../session_write_close_error.php.expectf | 74 +++ .../session_write_close_variation4.php | 31 + ...session_write_close_variation4.php.expectf | 17 + .../ext-session/sessionhandler_open_001.php | 12 + .../sessionhandler_open_001.php.expectf | 1 + hphp/test/zend/good/ext-session/002.php | 4 + .../zend/good/ext-session/002.php.expectf | 1 + hphp/test/zend/good/ext-session/bug31454.php | 12 + .../good/ext-session/bug31454.php.expectf | 2 + hphp/test/zend/good/ext-session/bug38377.php | 6 + .../good/ext-session/bug38377.php.expectf | 1 + .../zend/good/ext-session/save_handler.inc | 63 ++ .../session_cache_expire_basic.php | 23 + .../session_cache_expire_basic.php.expectf | 9 + .../session_cache_expire_error.php | 89 +++ .../session_cache_expire_error.php.expectf | 74 +++ .../session_cache_limiter_basic.php | 39 ++ .../session_cache_limiter_basic.php.expectf | 22 + .../session_cache_limiter_variation2.php | 24 + ...ssion_cache_limiter_variation2.php.expectf | 9 + .../good/ext-session/session_commit_basic.php | 24 + .../session_commit_basic.php.expectf | 14 + .../ext-session/session_commit_variation1.php | 24 + .../session_commit_variation1.php.expectf | 10 + .../ext-session/session_commit_variation2.php | 30 + .../session_commit_variation2.php.expectf | 22 + .../ext-session/session_decode_variation4.php | 26 + .../session_decode_variation4.php.expectf | 23 + .../session_destroy_variation2.php | 26 + .../session_destroy_variation2.php.expectf | 12 + .../ext-session/session_encode_variation3.php | 22 + .../session_encode_variation3.php.expectf | 5 + .../ext-session/session_module_name_basic.php | 21 + .../session_module_name_basic.php.expectf | 8 + .../session_set_cookie_params_basic.php | 21 + ...ession_set_cookie_params_basic.php.expectf | 7 + .../session_set_save_handler_variation2.php | 21 + ...on_set_save_handler_variation2.php.expectf | 5 + .../ext-session/session_start_variation2.php | 26 + .../session_start_variation2.php.expectf | 12 + .../ext-session/session_start_variation4.php | 22 + .../session_start_variation4.php.expectf | 8 + .../ext-session/session_start_variation5.php | 28 + .../session_start_variation5.php.expectf | 23 + .../ext-session/session_start_variation6.php | 29 + .../session_start_variation6.php.expectf | 33 + .../ext-session/session_start_variation7.php | 29 + .../session_start_variation7.php.expectf | 25 + .../ext-session/session_unset_variation1.php | 25 + .../session_unset_variation1.php.expectf | 16 + .../ext-session/session_write_close_basic.php | 24 + .../session_write_close_basic.php.expectf | 14 + .../session_write_close_variation1.php | 24 + ...session_write_close_variation1.php.expectf | 10 + .../session_write_close_variation2.php | 30 + ...session_write_close_variation2.php.expectf | 22 + hphp/tools/import_zend_test.py | 6 +- 144 files changed, 6029 insertions(+), 2 deletions(-) create mode 100644 hphp/test/zend/bad/ext-session/bug53141.php create mode 100644 hphp/test/zend/bad/ext-session/bug53141.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_cache_expire_variation2.php create mode 100644 hphp/test/zend/bad/ext-session/session_cache_expire_variation2.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_cache_expire_variation3.php create mode 100644 hphp/test/zend/bad/ext-session/session_cache_expire_variation3.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_cache_limiter_error.php create mode 100644 hphp/test/zend/bad/ext-session/session_cache_limiter_error.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_cache_limiter_variation3.php create mode 100644 hphp/test/zend/bad/ext-session/session_cache_limiter_variation3.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_commit_error.php create mode 100644 hphp/test/zend/bad/ext-session/session_commit_error.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_commit_variation4.php create mode 100644 hphp/test/zend/bad/ext-session/session_commit_variation4.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_decode_basic.php create mode 100644 hphp/test/zend/bad/ext-session/session_decode_basic.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_decode_error.php create mode 100644 hphp/test/zend/bad/ext-session/session_decode_error.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_decode_error2.php create mode 100644 hphp/test/zend/bad/ext-session/session_decode_error2.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_decode_variation1.php create mode 100644 hphp/test/zend/bad/ext-session/session_decode_variation1.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_decode_variation2.php create mode 100644 hphp/test/zend/bad/ext-session/session_decode_variation2.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_destroy_error.php create mode 100644 hphp/test/zend/bad/ext-session/session_destroy_error.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_destroy_variation1.php create mode 100644 hphp/test/zend/bad/ext-session/session_destroy_variation1.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_destroy_variation3.php create mode 100644 hphp/test/zend/bad/ext-session/session_destroy_variation3.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_encode_error.php create mode 100644 hphp/test/zend/bad/ext-session/session_encode_error.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_encode_error2.php create mode 100644 hphp/test/zend/bad/ext-session/session_encode_error2.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_encode_variation1.php create mode 100644 hphp/test/zend/bad/ext-session/session_encode_variation1.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_encode_variation4.php create mode 100644 hphp/test/zend/bad/ext-session/session_encode_variation4.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_encode_variation5.php create mode 100644 hphp/test/zend/bad/ext-session/session_encode_variation5.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_encode_variation6.php create mode 100644 hphp/test/zend/bad/ext-session/session_encode_variation6.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_get_cookie_params_error.php create mode 100644 hphp/test/zend/bad/ext-session/session_get_cookie_params_error.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_id_basic.php create mode 100644 hphp/test/zend/bad/ext-session/session_id_basic.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_id_error.php create mode 100644 hphp/test/zend/bad/ext-session/session_id_error.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_id_error2.php create mode 100644 hphp/test/zend/bad/ext-session/session_id_error2.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_id_error3.php create mode 100644 hphp/test/zend/bad/ext-session/session_id_error3.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_module_name_error.php create mode 100644 hphp/test/zend/bad/ext-session/session_module_name_error.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_module_name_variation1.php create mode 100644 hphp/test/zend/bad/ext-session/session_module_name_variation1.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_regenerate_id_basic.php create mode 100644 hphp/test/zend/bad/ext-session/session_regenerate_id_basic.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_regenerate_id_error.php create mode 100644 hphp/test/zend/bad/ext-session/session_regenerate_id_error.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_regenerate_id_variation1.php create mode 100644 hphp/test/zend/bad/ext-session/session_regenerate_id_variation1.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_set_cookie_params_error.php create mode 100644 hphp/test/zend/bad/ext-session/session_set_cookie_params_error.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_set_save_handler_error.php create mode 100644 hphp/test/zend/bad/ext-session/session_set_save_handler_error.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_set_save_handler_error2.php create mode 100644 hphp/test/zend/bad/ext-session/session_set_save_handler_error2.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_set_save_handler_error4.php create mode 100644 hphp/test/zend/bad/ext-session/session_set_save_handler_error4.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_set_save_handler_variation1.php create mode 100644 hphp/test/zend/bad/ext-session/session_set_save_handler_variation1.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_start_error.php create mode 100644 hphp/test/zend/bad/ext-session/session_start_error.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_start_variation1.php create mode 100644 hphp/test/zend/bad/ext-session/session_start_variation1.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_start_variation3.php create mode 100644 hphp/test/zend/bad/ext-session/session_start_variation3.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_start_variation8.php create mode 100644 hphp/test/zend/bad/ext-session/session_start_variation8.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_status.php create mode 100644 hphp/test/zend/bad/ext-session/session_status.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_unset_basic.php create mode 100644 hphp/test/zend/bad/ext-session/session_unset_basic.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_unset_error.php create mode 100644 hphp/test/zend/bad/ext-session/session_unset_error.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_write_close_error.php create mode 100644 hphp/test/zend/bad/ext-session/session_write_close_error.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/session_write_close_variation4.php create mode 100644 hphp/test/zend/bad/ext-session/session_write_close_variation4.php.expectf create mode 100644 hphp/test/zend/bad/ext-session/sessionhandler_open_001.php create mode 100644 hphp/test/zend/bad/ext-session/sessionhandler_open_001.php.expectf create mode 100644 hphp/test/zend/good/ext-session/002.php create mode 100644 hphp/test/zend/good/ext-session/002.php.expectf create mode 100644 hphp/test/zend/good/ext-session/bug31454.php create mode 100644 hphp/test/zend/good/ext-session/bug31454.php.expectf create mode 100644 hphp/test/zend/good/ext-session/bug38377.php create mode 100644 hphp/test/zend/good/ext-session/bug38377.php.expectf create mode 100644 hphp/test/zend/good/ext-session/save_handler.inc create mode 100644 hphp/test/zend/good/ext-session/session_cache_expire_basic.php create mode 100644 hphp/test/zend/good/ext-session/session_cache_expire_basic.php.expectf create mode 100644 hphp/test/zend/good/ext-session/session_cache_expire_error.php create mode 100644 hphp/test/zend/good/ext-session/session_cache_expire_error.php.expectf create mode 100644 hphp/test/zend/good/ext-session/session_cache_limiter_basic.php create mode 100644 hphp/test/zend/good/ext-session/session_cache_limiter_basic.php.expectf create mode 100644 hphp/test/zend/good/ext-session/session_cache_limiter_variation2.php create mode 100644 hphp/test/zend/good/ext-session/session_cache_limiter_variation2.php.expectf create mode 100644 hphp/test/zend/good/ext-session/session_commit_basic.php create mode 100644 hphp/test/zend/good/ext-session/session_commit_basic.php.expectf create mode 100644 hphp/test/zend/good/ext-session/session_commit_variation1.php create mode 100644 hphp/test/zend/good/ext-session/session_commit_variation1.php.expectf create mode 100644 hphp/test/zend/good/ext-session/session_commit_variation2.php create mode 100644 hphp/test/zend/good/ext-session/session_commit_variation2.php.expectf create mode 100644 hphp/test/zend/good/ext-session/session_decode_variation4.php create mode 100644 hphp/test/zend/good/ext-session/session_decode_variation4.php.expectf create mode 100644 hphp/test/zend/good/ext-session/session_destroy_variation2.php create mode 100644 hphp/test/zend/good/ext-session/session_destroy_variation2.php.expectf create mode 100644 hphp/test/zend/good/ext-session/session_encode_variation3.php create mode 100644 hphp/test/zend/good/ext-session/session_encode_variation3.php.expectf create mode 100644 hphp/test/zend/good/ext-session/session_module_name_basic.php create mode 100644 hphp/test/zend/good/ext-session/session_module_name_basic.php.expectf create mode 100644 hphp/test/zend/good/ext-session/session_set_cookie_params_basic.php create mode 100644 hphp/test/zend/good/ext-session/session_set_cookie_params_basic.php.expectf create mode 100644 hphp/test/zend/good/ext-session/session_set_save_handler_variation2.php create mode 100644 hphp/test/zend/good/ext-session/session_set_save_handler_variation2.php.expectf create mode 100644 hphp/test/zend/good/ext-session/session_start_variation2.php create mode 100644 hphp/test/zend/good/ext-session/session_start_variation2.php.expectf create mode 100644 hphp/test/zend/good/ext-session/session_start_variation4.php create mode 100644 hphp/test/zend/good/ext-session/session_start_variation4.php.expectf create mode 100644 hphp/test/zend/good/ext-session/session_start_variation5.php create mode 100644 hphp/test/zend/good/ext-session/session_start_variation5.php.expectf create mode 100644 hphp/test/zend/good/ext-session/session_start_variation6.php create mode 100644 hphp/test/zend/good/ext-session/session_start_variation6.php.expectf create mode 100644 hphp/test/zend/good/ext-session/session_start_variation7.php create mode 100644 hphp/test/zend/good/ext-session/session_start_variation7.php.expectf create mode 100644 hphp/test/zend/good/ext-session/session_unset_variation1.php create mode 100644 hphp/test/zend/good/ext-session/session_unset_variation1.php.expectf create mode 100644 hphp/test/zend/good/ext-session/session_write_close_basic.php create mode 100644 hphp/test/zend/good/ext-session/session_write_close_basic.php.expectf create mode 100644 hphp/test/zend/good/ext-session/session_write_close_variation1.php create mode 100644 hphp/test/zend/good/ext-session/session_write_close_variation1.php.expectf create mode 100644 hphp/test/zend/good/ext-session/session_write_close_variation2.php create mode 100644 hphp/test/zend/good/ext-session/session_write_close_variation2.php.expectf diff --git a/hphp/test/zend/bad/ext-session/bug53141.php b/hphp/test/zend/bad/ext-session/bug53141.php new file mode 100644 index 000000000..3e7ff67b3 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/bug53141.php @@ -0,0 +1,19 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/bug53141.php.expectf b/hphp/test/zend/bad/ext-session/bug53141.php.expectf new file mode 100644 index 000000000..b348f4a9c --- /dev/null +++ b/hphp/test/zend/bad/ext-session/bug53141.php.expectf @@ -0,0 +1 @@ +string(11) "Loading Bar" \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_cache_expire_variation2.php b/hphp/test/zend/bad/ext-session/session_cache_expire_variation2.php new file mode 100644 index 000000000..e465b2f60 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_cache_expire_variation2.php @@ -0,0 +1,24 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_cache_expire_variation2.php.expectf b/hphp/test/zend/bad/ext-session/session_cache_expire_variation2.php.expectf new file mode 100644 index 000000000..9653f8c99 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_cache_expire_variation2.php.expectf @@ -0,0 +1,9 @@ +*** Testing session_cache_expire() : variation *** +int(360) +int(360) +int(1234567890) +bool(true) +int(180) +bool(true) +int(180) +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_cache_expire_variation3.php b/hphp/test/zend/bad/ext-session/session_cache_expire_variation3.php new file mode 100644 index 000000000..cc0dbeeac --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_cache_expire_variation3.php @@ -0,0 +1,27 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_cache_expire_variation3.php.expectf b/hphp/test/zend/bad/ext-session/session_cache_expire_variation3.php.expectf new file mode 100644 index 000000000..858e9cec9 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_cache_expire_variation3.php.expectf @@ -0,0 +1,13 @@ +*** Testing session_cache_expire() : variation *** +string(3) "180" +int(180) +string(3) "180" +int(180) +string(10) "1234567890" +bool(true) +int(1234567890) +string(10) "1234567890" +bool(true) +int(1234567890) +string(10) "1234567890" +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_cache_limiter_error.php b/hphp/test/zend/bad/ext-session/session_cache_limiter_error.php new file mode 100644 index 000000000..5c981ed5e --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_cache_limiter_error.php @@ -0,0 +1,89 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_cache_limiter_error.php.expectf b/hphp/test/zend/bad/ext-session/session_cache_limiter_error.php.expectf new file mode 100644 index 000000000..2e8e3205f --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_cache_limiter_error.php.expectf @@ -0,0 +1,75 @@ +*** Testing session_cache_limiter() : error functionality *** + +-- Iteration 1 -- +string(7) "nocache" + +-- Iteration 2 -- +string(1) "0" + +-- Iteration 3 -- +string(1) "1" + +-- Iteration 4 -- +string(5) "12345" + +-- Iteration 5 -- +string(5) "-2345" + +-- Iteration 6 -- +string(4) "10.5" + +-- Iteration 7 -- +string(5) "-10.5" + +-- Iteration 8 -- +string(12) "123456789000" + +-- Iteration 9 -- +string(13) "1.23456789E-9" + +-- Iteration 10 -- +string(3) "0.5" + +-- Iteration 11 -- +string(0) "" + +-- Iteration 12 -- +string(0) "" + +-- Iteration 13 -- +string(1) "1" + +-- Iteration 14 -- +string(0) "" + +-- Iteration 15 -- +string(1) "1" + +-- Iteration 16 -- +string(0) "" + +-- Iteration 17 -- +string(0) "" + +-- Iteration 18 -- +string(0) "" + +-- Iteration 19 -- +string(7) "Nothing" + +-- Iteration 20 -- +string(7) "Nothing" + +-- Iteration 21 -- +string(12) "Hello World!" + +-- Iteration 22 -- +string(12) "Hello World!" + +-- Iteration 23 -- +string(0) "" + +-- Iteration 24 -- +HipHop Warning: %a +NULL +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_cache_limiter_variation3.php b/hphp/test/zend/bad/ext-session/session_cache_limiter_variation3.php new file mode 100644 index 000000000..76a20606b --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_cache_limiter_variation3.php @@ -0,0 +1,23 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_cache_limiter_variation3.php.expectf b/hphp/test/zend/bad/ext-session/session_cache_limiter_variation3.php.expectf new file mode 100644 index 000000000..bc5541050 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_cache_limiter_variation3.php.expectf @@ -0,0 +1,9 @@ +*** Testing session_cache_limiter() : variation *** +string(7) "nocache" +bool(true) +string(7) "nocache" +string(7) "nocache" +string(6) "public" +bool(true) +string(6) "public" +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_commit_error.php b/hphp/test/zend/bad/ext-session/session_commit_error.php new file mode 100644 index 000000000..dd4ba8869 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_commit_error.php @@ -0,0 +1,89 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_commit_error.php.expectf b/hphp/test/zend/bad/ext-session/session_commit_error.php.expectf new file mode 100644 index 000000000..f704044f9 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_commit_error.php.expectf @@ -0,0 +1,74 @@ +*** Testing session_commit() : error functionality *** + +-- Iteration 1 -- +NULL + +-- Iteration 2 -- +NULL + +-- Iteration 3 -- +NULL + +-- Iteration 4 -- +NULL + +-- Iteration 5 -- +NULL + +-- Iteration 6 -- +NULL + +-- Iteration 7 -- +NULL + +-- Iteration 8 -- +NULL + +-- Iteration 9 -- +NULL + +-- Iteration 10 -- +NULL + +-- Iteration 11 -- +NULL + +-- Iteration 12 -- +NULL + +-- Iteration 13 -- +NULL + +-- Iteration 14 -- +NULL + +-- Iteration 15 -- +NULL + +-- Iteration 16 -- +NULL + +-- Iteration 17 -- +NULL + +-- Iteration 18 -- +NULL + +-- Iteration 19 -- +NULL + +-- Iteration 20 -- +NULL + +-- Iteration 21 -- +NULL + +-- Iteration 22 -- +NULL + +-- Iteration 23 -- +NULL + +-- Iteration 24 -- +NULL +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_commit_variation4.php b/hphp/test/zend/bad/ext-session/session_commit_variation4.php new file mode 100644 index 000000000..4ec1f5691 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_commit_variation4.php @@ -0,0 +1,31 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_commit_variation4.php.expectf b/hphp/test/zend/bad/ext-session/session_commit_variation4.php.expectf new file mode 100644 index 000000000..38f5a1f6b --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_commit_variation4.php.expectf @@ -0,0 +1,17 @@ +*** Testing session_commit() : variation *** +string(0) "" +bool(true) +string(4) "test" +NULL +string(4) "test" +bool(true) +string(4) "test" +NULL +string(4) "test" +bool(true) +string(4) "test" +NULL +string(4) "test" +bool(true) +bool(true) +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_decode_basic.php b/hphp/test/zend/bad/ext-session/session_decode_basic.php new file mode 100644 index 000000000..747328418 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_decode_basic.php @@ -0,0 +1,93 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_decode_basic.php.expectf b/hphp/test/zend/bad/ext-session/session_decode_basic.php.expectf new file mode 100644 index 000000000..44c812a88 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_decode_basic.php.expectf @@ -0,0 +1,173 @@ +*** Testing session_decode() : basic functionality *** +bool(true) + +-- Iteration 1 -- +bool(true) +array(1) { + ["data"]=> + int(0) +} + +-- Iteration 2 -- +bool(true) +array(1) { + ["data"]=> + int(1) +} + +-- Iteration 3 -- +bool(true) +array(1) { + ["data"]=> + int(12345) +} + +-- Iteration 4 -- +bool(true) +array(1) { + ["data"]=> + int(-2345) +} + +-- Iteration 5 -- +bool(true) +array(1) { + ["data"]=> + float(10.5) +} + +-- Iteration 6 -- +bool(true) +array(1) { + ["data"]=> + float(-10.5) +} + +-- Iteration 7 -- +bool(true) +array(1) { + ["data"]=> + float(123456789000) +} + +-- Iteration 8 -- +bool(true) +array(1) { + ["data"]=> + float(1.23456789E-9) +} + +-- Iteration 9 -- +bool(true) +array(1) { + ["data"]=> + float(0.5) +} + +-- Iteration 10 -- +bool(true) +array(1) { + ["data"]=> + NULL +} + +-- Iteration 11 -- +bool(true) +array(1) { + ["data"]=> + NULL +} + +-- Iteration 12 -- +bool(true) +array(1) { + ["data"]=> + bool(true) +} + +-- Iteration 13 -- +bool(true) +array(1) { + ["data"]=> + bool(false) +} + +-- Iteration 14 -- +bool(true) +array(1) { + ["data"]=> + bool(true) +} + +-- Iteration 15 -- +bool(true) +array(1) { + ["data"]=> + bool(false) +} + +-- Iteration 16 -- +bool(true) +array(1) { + ["data"]=> + string(0) "" +} + +-- Iteration 17 -- +bool(true) +array(1) { + ["data"]=> + string(0) "" +} + +-- Iteration 18 -- +bool(true) +array(1) { + ["data"]=> + string(7) "Nothing" +} + +-- Iteration 19 -- +bool(true) +array(1) { + ["data"]=> + string(7) "Nothing" +} + +-- Iteration 20 -- +bool(true) +array(1) { + ["data"]=> + string(12) "Hello World!" +} + +-- Iteration 21 -- +bool(true) +array(1) { + ["data"]=> + object(classA)#2 (0) { + } +} + +-- Iteration 22 -- +bool(true) +array(1) { + ["data"]=> + NULL +} + +-- Iteration 23 -- +bool(true) +array(1) { + ["data"]=> + NULL +} + +-- Iteration 24 -- +bool(true) +array(1) { + ["data"]=> + int(0) +} +bool(true) +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_decode_error.php b/hphp/test/zend/bad/ext-session/session_decode_error.php new file mode 100644 index 000000000..16cf007ee --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_decode_error.php @@ -0,0 +1,91 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_decode_error.php.expectf b/hphp/test/zend/bad/ext-session/session_decode_error.php.expectf new file mode 100644 index 000000000..1296aec6a --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_decode_error.php.expectf @@ -0,0 +1,125 @@ +*** Testing session_decode() : error functionality *** +bool(true) + +-- Iteration 1 -- +bool(true) +array(0) { +} + +-- Iteration 2 -- +bool(true) +array(0) { +} + +-- Iteration 3 -- +bool(true) +array(0) { +} + +-- Iteration 4 -- +bool(true) +array(0) { +} + +-- Iteration 5 -- +bool(true) +array(0) { +} + +-- Iteration 6 -- +bool(true) +array(0) { +} + +-- Iteration 7 -- +bool(true) +array(0) { +} + +-- Iteration 8 -- +bool(true) +array(0) { +} + +-- Iteration 9 -- +bool(true) +array(0) { +} + +-- Iteration 10 -- +bool(true) +array(0) { +} + +-- Iteration 11 -- +bool(true) +array(0) { +} + +-- Iteration 12 -- +bool(true) +array(0) { +} + +-- Iteration 13 -- +bool(true) +array(0) { +} + +-- Iteration 14 -- +bool(true) +array(0) { +} + +-- Iteration 15 -- +bool(true) +array(0) { +} + +-- Iteration 16 -- +bool(true) +array(0) { +} + +-- Iteration 17 -- +bool(true) +array(0) { +} + +-- Iteration 18 -- +bool(true) +array(0) { +} + +-- Iteration 19 -- +bool(true) +array(0) { +} + +-- Iteration 20 -- +bool(true) +array(0) { +} + +-- Iteration 21 -- +bool(true) +array(0) { +} + +-- Iteration 22 -- +bool(true) +array(0) { +} + +-- Iteration 23 -- +bool(true) +array(0) { +} + +-- Iteration 24 -- +HipHop Warning: %a +NULL +array(0) { +} +bool(true) +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_decode_error2.php b/hphp/test/zend/bad/ext-session/session_decode_error2.php new file mode 100644 index 000000000..b807bc471 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_decode_error2.php @@ -0,0 +1,25 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_decode_error2.php.expectf b/hphp/test/zend/bad/ext-session/session_decode_error2.php.expectf new file mode 100644 index 000000000..30e5b7f9a --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_decode_error2.php.expectf @@ -0,0 +1,583 @@ +*** Testing session_decode() : error functionality *** +bool(true) + +-- Iteration 0 -- +bool(true) +array(0) { +} + +-- Iteration 1 -- +bool(true) +array(0) { +} + +-- Iteration 2 -- +bool(true) +array(0) { +} + +-- Iteration 3 -- +bool(true) +array(0) { +} + +-- Iteration 4 -- +bool(true) +array(1) { + ["foo"]=> + NULL +} + +-- Iteration 5 -- +bool(true) +array(1) { + ["foo"]=> + NULL +} + +-- Iteration 6 -- +bool(true) +array(1) { + ["foo"]=> + NULL +} + +-- Iteration 7 -- +bool(true) +array(1) { + ["foo"]=> + NULL +} + +-- Iteration 8 -- +bool(true) +array(1) { + ["foo"]=> + NULL +} + +-- Iteration 9 -- +bool(true) +array(1) { + ["foo"]=> + NULL +} + +-- Iteration 10 -- +bool(true) +array(1) { + ["foo"]=> + NULL +} + +-- Iteration 11 -- +bool(true) +array(1) { + ["foo"]=> + NULL +} + +-- Iteration 12 -- +bool(true) +array(1) { + ["foo"]=> + NULL +} + +-- Iteration 13 -- +bool(true) +array(1) { + ["foo"]=> + NULL +} + +-- Iteration 14 -- +bool(true) +array(1) { + ["foo"]=> + NULL +} + +-- Iteration 15 -- +bool(true) +array(1) { + ["foo"]=> + NULL +} + +-- Iteration 16 -- +bool(true) +array(1) { + ["foo"]=> + NULL +} + +-- Iteration 17 -- +bool(true) +array(1) { + ["foo"]=> + NULL +} + +-- Iteration 18 -- +bool(true) +array(1) { + ["foo"]=> + NULL +} + +-- Iteration 19 -- +bool(true) +array(1) { + ["foo"]=> + NULL +} + +-- Iteration 20 -- +bool(true) +array(1) { + ["foo"]=> + NULL +} + +-- Iteration 21 -- +bool(true) +array(1) { + ["foo"]=> + NULL +} + +-- Iteration 22 -- +bool(true) +array(1) { + ["foo"]=> + NULL +} + +-- Iteration 23 -- +bool(true) +array(1) { + ["foo"]=> + NULL +} + +-- Iteration 24 -- +bool(true) +array(1) { + ["foo"]=> + NULL +} + +-- Iteration 25 -- +bool(true) +array(1) { + ["foo"]=> + NULL +} + +-- Iteration 26 -- +bool(true) +array(1) { + ["foo"]=> + NULL +} + +-- Iteration 27 -- +bool(true) +array(1) { + ["foo"]=> + NULL +} + +-- Iteration 28 -- +bool(true) +array(1) { + ["foo"]=> + NULL +} + +-- Iteration 29 -- +bool(true) +array(1) { + ["foo"]=> + NULL +} + +-- Iteration 30 -- +bool(true) +array(1) { + ["foo"]=> + NULL +} + +-- Iteration 31 -- +bool(true) +array(1) { + ["foo"]=> + NULL +} + +-- Iteration 32 -- +bool(true) +array(1) { + ["foo"]=> + NULL +} + +-- Iteration 33 -- +bool(true) +array(1) { + ["foo"]=> + NULL +} + +-- Iteration 34 -- +bool(true) +array(1) { + ["foo"]=> + array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } +} + +-- Iteration 35 -- +bool(true) +array(1) { + ["foo"]=> + array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } +} + +-- Iteration 36 -- +bool(true) +array(1) { + ["foo"]=> + array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } +} + +-- Iteration 37 -- +bool(true) +array(1) { + ["foo"]=> + array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } +} + +-- Iteration 38 -- +bool(true) +array(1) { + ["foo"]=> + array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } +} + +-- Iteration 39 -- +bool(true) +array(2) { + ["foo"]=> + array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } + ["guff"]=> + NULL +} + +-- Iteration 40 -- +bool(true) +array(2) { + ["foo"]=> + array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } + ["guff"]=> + NULL +} + +-- Iteration 41 -- +bool(true) +array(2) { + ["foo"]=> + array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } + ["guff"]=> + NULL +} + +-- Iteration 42 -- +bool(true) +array(2) { + ["foo"]=> + array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } + ["guff"]=> + NULL +} + +-- Iteration 43 -- +bool(true) +array(2) { + ["foo"]=> + &array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } + ["guff"]=> + &array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } +} + +-- Iteration 44 -- +bool(true) +array(2) { + ["foo"]=> + &array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } + ["guff"]=> + &array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } +} + +-- Iteration 45 -- +bool(true) +array(2) { + ["foo"]=> + &array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } + ["guff"]=> + &array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } +} + +-- Iteration 46 -- +bool(true) +array(2) { + ["foo"]=> + &array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } + ["guff"]=> + &array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } +} + +-- Iteration 47 -- +bool(true) +array(2) { + ["foo"]=> + &array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } + ["guff"]=> + &array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } +} + +-- Iteration 48 -- +bool(true) +array(3) { + ["foo"]=> + &array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } + ["guff"]=> + &array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } + ["blah"]=> + NULL +} + +-- Iteration 49 -- +bool(true) +array(3) { + ["foo"]=> + &array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } + ["guff"]=> + &array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } + ["blah"]=> + NULL +} + +-- Iteration 50 -- +bool(true) +array(3) { + ["foo"]=> + &array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } + ["guff"]=> + &array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } + ["blah"]=> + NULL +} + +-- Iteration 51 -- +bool(true) +array(3) { + ["foo"]=> + &array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } + ["guff"]=> + &array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } + ["blah"]=> + NULL +} +bool(true) +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_decode_variation1.php b/hphp/test/zend/bad/ext-session/session_decode_variation1.php new file mode 100644 index 000000000..a5607cdc7 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_decode_variation1.php @@ -0,0 +1,28 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_decode_variation1.php.expectf b/hphp/test/zend/bad/ext-session/session_decode_variation1.php.expectf new file mode 100644 index 000000000..65f7af914 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_decode_variation1.php.expectf @@ -0,0 +1,154 @@ +*** Testing session_decode() : variation *** +bool(true) +bool(true) +array(3) { + ["foo"]=> + &array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } + ["guff"]=> + &array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } + ["blah"]=> + &array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } +} +bool(true) +array(3) { + ["foo"]=> + &array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } + ["guff"]=> + &array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } + ["blah"]=> + &array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } +} +bool(true) +array(3) { + ["foo"]=> + &array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } + ["guff"]=> + &array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } + ["blah"]=> + &array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } +} +bool(true) +array(3) { + ["foo"]=> + &array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } + ["guff"]=> + &array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } + ["blah"]=> + &array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } +} +bool(true) +array(3) { + ["foo"]=> + &array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } + ["guff"]=> + &array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } + ["blah"]=> + &array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } +} +bool(true) +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_decode_variation2.php b/hphp/test/zend/bad/ext-session/session_decode_variation2.php new file mode 100644 index 000000000..9f72d38ca --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_decode_variation2.php @@ -0,0 +1,25 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_decode_variation2.php.expectf b/hphp/test/zend/bad/ext-session/session_decode_variation2.php.expectf new file mode 100644 index 000000000..1f04909d7 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_decode_variation2.php.expectf @@ -0,0 +1,46 @@ +*** Testing session_decode() : variation *** +bool(true) +array(0) { +} +array(3) { + ["foo"]=> + int(1234567890) + ["bar"]=> + string(12) "Hello World!" + ["guff"]=> + float(123.456) +} +bool(true) +array(4) { + ["foo"]=> + &array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } + ["bar"]=> + string(12) "Hello World!" + ["guff"]=> + &array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } + ["blah"]=> + &array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } +} +bool(true) +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_destroy_error.php b/hphp/test/zend/bad/ext-session/session_destroy_error.php new file mode 100644 index 000000000..9eb974ed6 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_destroy_error.php @@ -0,0 +1,89 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_destroy_error.php.expectf b/hphp/test/zend/bad/ext-session/session_destroy_error.php.expectf new file mode 100644 index 000000000..2cb9d2d70 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_destroy_error.php.expectf @@ -0,0 +1,98 @@ +*** Testing session_destroy() : error functionality *** + +-- Iteration 1 -- +HipHop Warning: %a +NULL + +-- Iteration 2 -- +HipHop Warning: %a +NULL + +-- Iteration 3 -- +HipHop Warning: %a +NULL + +-- Iteration 4 -- +HipHop Warning: %a +NULL + +-- Iteration 5 -- +HipHop Warning: %a +NULL + +-- Iteration 6 -- +HipHop Warning: %a +NULL + +-- Iteration 7 -- +HipHop Warning: %a +NULL + +-- Iteration 8 -- +HipHop Warning: %a +NULL + +-- Iteration 9 -- +HipHop Warning: %a +NULL + +-- Iteration 10 -- +HipHop Warning: %a +NULL + +-- Iteration 11 -- +HipHop Warning: %a +NULL + +-- Iteration 12 -- +HipHop Warning: %a +NULL + +-- Iteration 13 -- +HipHop Warning: %a +NULL + +-- Iteration 14 -- +HipHop Warning: %a +NULL + +-- Iteration 15 -- +HipHop Warning: %a +NULL + +-- Iteration 16 -- +HipHop Warning: %a +NULL + +-- Iteration 17 -- +HipHop Warning: %a +NULL + +-- Iteration 18 -- +HipHop Warning: %a +NULL + +-- Iteration 19 -- +HipHop Warning: %a +NULL + +-- Iteration 20 -- +HipHop Warning: %a +NULL + +-- Iteration 21 -- +HipHop Warning: %a +NULL + +-- Iteration 22 -- +HipHop Warning: %a +NULL + +-- Iteration 23 -- +HipHop Warning: %a +NULL + +-- Iteration 24 -- +HipHop Warning: %a +NULL +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_destroy_variation1.php b/hphp/test/zend/bad/ext-session/session_destroy_variation1.php new file mode 100644 index 000000000..5392562f6 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_destroy_variation1.php @@ -0,0 +1,22 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_destroy_variation1.php.expectf b/hphp/test/zend/bad/ext-session/session_destroy_variation1.php.expectf new file mode 100644 index 000000000..39f3c063c --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_destroy_variation1.php.expectf @@ -0,0 +1,12 @@ +*** Testing session_destroy() : variation *** +bool(true) +bool(true) +HipHop Warning: %a +bool(false) +HipHop Warning: %a +bool(false) +HipHop Warning: %a +bool(false) +HipHop Warning: %a +bool(false) +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_destroy_variation3.php b/hphp/test/zend/bad/ext-session/session_destroy_variation3.php new file mode 100644 index 000000000..6065d9de9 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_destroy_variation3.php @@ -0,0 +1,24 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_destroy_variation3.php.expectf b/hphp/test/zend/bad/ext-session/session_destroy_variation3.php.expectf new file mode 100644 index 000000000..18aacd2b4 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_destroy_variation3.php.expectf @@ -0,0 +1,10 @@ +*** Testing session_destroy() : variation *** +bool(true) +string(%d) "%s" +bool(true) +string(0) "" +bool(true) +string(%d) "%s" +bool(true) +string(0) "" +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_encode_error.php b/hphp/test/zend/bad/ext-session/session_encode_error.php new file mode 100644 index 000000000..e289a525b --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_encode_error.php @@ -0,0 +1,91 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_encode_error.php.expectf b/hphp/test/zend/bad/ext-session/session_encode_error.php.expectf new file mode 100644 index 000000000..4d9d72d27 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_encode_error.php.expectf @@ -0,0 +1,98 @@ +*** Testing session_encode() : basic functionality *** + +-- Iteration 1 -- +HipHop Warning: %a +NULL + +-- Iteration 2 -- +HipHop Warning: %a +NULL + +-- Iteration 3 -- +HipHop Warning: %a +NULL + +-- Iteration 4 -- +HipHop Warning: %a +NULL + +-- Iteration 5 -- +HipHop Warning: %a +NULL + +-- Iteration 6 -- +HipHop Warning: %a +NULL + +-- Iteration 7 -- +HipHop Warning: %a +NULL + +-- Iteration 8 -- +HipHop Warning: %a +NULL + +-- Iteration 9 -- +HipHop Warning: %a +NULL + +-- Iteration 10 -- +HipHop Warning: %a +NULL + +-- Iteration 11 -- +HipHop Warning: %a +NULL + +-- Iteration 12 -- +HipHop Warning: %a +NULL + +-- Iteration 13 -- +HipHop Warning: %a +NULL + +-- Iteration 14 -- +HipHop Warning: %a +NULL + +-- Iteration 15 -- +HipHop Warning: %a +NULL + +-- Iteration 16 -- +HipHop Warning: %a +NULL + +-- Iteration 17 -- +HipHop Warning: %a +NULL + +-- Iteration 18 -- +HipHop Warning: %a +NULL + +-- Iteration 19 -- +HipHop Warning: %a +NULL + +-- Iteration 20 -- +HipHop Warning: %a +NULL + +-- Iteration 21 -- +HipHop Warning: %a +NULL + +-- Iteration 22 -- +HipHop Warning: %a +NULL + +-- Iteration 23 -- +HipHop Warning: %a +NULL + +-- Iteration 24 -- +HipHop Warning: %a +NULL +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_encode_error2.php b/hphp/test/zend/bad/ext-session/session_encode_error2.php new file mode 100644 index 000000000..98bfcdf50 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_encode_error2.php @@ -0,0 +1,91 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_encode_error2.php.expectf b/hphp/test/zend/bad/ext-session/session_encode_error2.php.expectf new file mode 100644 index 000000000..6920e0b05 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_encode_error2.php.expectf @@ -0,0 +1,139 @@ +*** Testing session_encode() : error functionality *** + +-- Iteration 1 -- +bool(true) +HipHop Notice: %a +bool(false) +bool(true) + +-- Iteration 2 -- +bool(true) +HipHop Notice: %a +bool(false) +bool(true) + +-- Iteration 3 -- +bool(true) +HipHop Notice: %a +bool(false) +bool(true) + +-- Iteration 4 -- +bool(true) +HipHop Notice: %a +bool(false) +bool(true) + +-- Iteration 5 -- +bool(true) +HipHop Notice: %a +bool(false) +bool(true) + +-- Iteration 6 -- +bool(true) +HipHop Notice: %a +bool(false) +bool(true) + +-- Iteration 7 -- +bool(true) +HipHop Notice: %a +bool(false) +bool(true) + +-- Iteration 8 -- +bool(true) +HipHop Notice: %a +bool(false) +bool(true) + +-- Iteration 9 -- +bool(true) +HipHop Notice: %a +bool(false) +bool(true) + +-- Iteration 10 -- +bool(true) +string(21) "|s:12:"Hello World!";" +bool(true) + +-- Iteration 11 -- +bool(true) +string(21) "|s:12:"Hello World!";" +bool(true) + +-- Iteration 12 -- +bool(true) +HipHop Notice: %a +bool(false) +bool(true) + +-- Iteration 13 -- +bool(true) +HipHop Notice: %a +bool(false) +bool(true) + +-- Iteration 14 -- +bool(true) +HipHop Notice: %a +bool(false) +bool(true) + +-- Iteration 15 -- +bool(true) +HipHop Notice: %a +bool(false) +bool(true) + +-- Iteration 16 -- +bool(true) +string(21) "|s:12:"Hello World!";" +bool(true) + +-- Iteration 17 -- +bool(true) +string(21) "|s:12:"Hello World!";" +bool(true) + +-- Iteration 18 -- +bool(true) +string(28) "Nothing|s:12:"Hello World!";" +bool(true) + +-- Iteration 19 -- +bool(true) +string(28) "Nothing|s:12:"Hello World!";" +bool(true) + +-- Iteration 20 -- +bool(true) +bool(false) +bool(true) + +-- Iteration 21 -- +bool(true) +HipHop Warning: %a +bool(false) +bool(true) + +-- Iteration 22 -- +bool(true) +string(21) "|s:12:"Hello World!";" +bool(true) + +-- Iteration 23 -- +bool(true) +string(21) "|s:12:"Hello World!";" +bool(true) + +-- Iteration 24 -- +bool(true) + +Strict Standards: Resource ID#%d used as offset, casting to integer (%d) in hphp/test/zend/bad/ext-session/session_encode_error2.php on line %d +HipHop Notice: %a +bool(false) +bool(true) +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_encode_variation1.php b/hphp/test/zend/bad/ext-session/session_encode_variation1.php new file mode 100644 index 000000000..e122b8d92 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_encode_variation1.php @@ -0,0 +1,25 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_encode_variation1.php.expectf b/hphp/test/zend/bad/ext-session/session_encode_variation1.php.expectf new file mode 100644 index 000000000..995535997 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_encode_variation1.php.expectf @@ -0,0 +1,13 @@ +*** Testing session_encode() : variation *** +HipHop Warning: %a +bool(false) +bool(true) +bool(false) +NULL +bool(false) +bool(true) +bool(false) +bool(true) +HipHop Warning: %a +bool(false) +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_encode_variation4.php b/hphp/test/zend/bad/ext-session/session_encode_variation4.php new file mode 100644 index 000000000..131b9ac28 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_encode_variation4.php @@ -0,0 +1,24 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_encode_variation4.php.expectf b/hphp/test/zend/bad/ext-session/session_encode_variation4.php.expectf new file mode 100644 index 000000000..18ffc0c12 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_encode_variation4.php.expectf @@ -0,0 +1,5 @@ +*** Testing session_encode() : variation *** +bool(true) +string(52) "foo|a:3:{i:0;i:1;i:1;i:2;i:2;i:3;}guff|R:1;blah|R:1;" +bool(true) +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_encode_variation5.php b/hphp/test/zend/bad/ext-session/session_encode_variation5.php new file mode 100644 index 000000000..90cd062e6 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_encode_variation5.php @@ -0,0 +1,24 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_encode_variation5.php.expectf b/hphp/test/zend/bad/ext-session/session_encode_variation5.php.expectf new file mode 100644 index 000000000..fd4ab9a65 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_encode_variation5.php.expectf @@ -0,0 +1,5 @@ +*** Testing session_encode() : variation *** +bool(true) +string(64) "data|a:5:{i:0;i:1;i:1;i:2;i:2;i:3;s:3:"foo";R:1;s:4:"blah";R:1;}" +bool(true) +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_encode_variation6.php b/hphp/test/zend/bad/ext-session/session_encode_variation6.php new file mode 100644 index 000000000..65a3f4e7b --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_encode_variation6.php @@ -0,0 +1,28 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_encode_variation6.php.expectf b/hphp/test/zend/bad/ext-session/session_encode_variation6.php.expectf new file mode 100644 index 000000000..6e7fdba25 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_encode_variation6.php.expectf @@ -0,0 +1,14 @@ +*** Testing session_encode() : variation *** +bool(true) +HipHop Notice: %a +bool(false) +bool(true) +bool(true) +HipHop Notice: %a +bool(false) +bool(true) +bool(true) +HipHop Notice: %a +bool(false) +bool(true) +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_get_cookie_params_error.php b/hphp/test/zend/bad/ext-session/session_get_cookie_params_error.php new file mode 100644 index 000000000..f8aa469d6 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_get_cookie_params_error.php @@ -0,0 +1,88 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_get_cookie_params_error.php.expectf b/hphp/test/zend/bad/ext-session/session_get_cookie_params_error.php.expectf new file mode 100644 index 000000000..956e43342 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_get_cookie_params_error.php.expectf @@ -0,0 +1,98 @@ +*** Testing session_get_cookie_params() : error functionality *** + +-- Iteration 1 -- +HipHop Warning: %a +NULL + +-- Iteration 2 -- +HipHop Warning: %a +NULL + +-- Iteration 3 -- +HipHop Warning: %a +NULL + +-- Iteration 4 -- +HipHop Warning: %a +NULL + +-- Iteration 5 -- +HipHop Warning: %a +NULL + +-- Iteration 6 -- +HipHop Warning: %a +NULL + +-- Iteration 7 -- +HipHop Warning: %a +NULL + +-- Iteration 8 -- +HipHop Warning: %a +NULL + +-- Iteration 9 -- +HipHop Warning: %a +NULL + +-- Iteration 10 -- +HipHop Warning: %a +NULL + +-- Iteration 11 -- +HipHop Warning: %a +NULL + +-- Iteration 12 -- +HipHop Warning: %a +NULL + +-- Iteration 13 -- +HipHop Warning: %a +NULL + +-- Iteration 14 -- +HipHop Warning: %a +NULL + +-- Iteration 15 -- +HipHop Warning: %a +NULL + +-- Iteration 16 -- +HipHop Warning: %a +NULL + +-- Iteration 17 -- +HipHop Warning: %a +NULL + +-- Iteration 18 -- +HipHop Warning: %a +NULL + +-- Iteration 19 -- +HipHop Warning: %a +NULL + +-- Iteration 20 -- +HipHop Warning: %a +NULL + +-- Iteration 21 -- +HipHop Warning: %a +NULL + +-- Iteration 22 -- +HipHop Warning: %a +NULL + +-- Iteration 23 -- +HipHop Warning: %a +NULL + +-- Iteration 24 -- +HipHop Warning: %a +NULL +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_id_basic.php b/hphp/test/zend/bad/ext-session/session_id_basic.php new file mode 100644 index 000000000..cca6ab5d1 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_id_basic.php @@ -0,0 +1,25 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_id_basic.php.expectf b/hphp/test/zend/bad/ext-session/session_id_basic.php.expectf new file mode 100644 index 000000000..67b7e0f15 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_id_basic.php.expectf @@ -0,0 +1,11 @@ +*** Testing session_id() : basic functionality *** +string(0) "" +string(0) "" +string(4) "test" +string(4) "test" +string(10) "1234567890" +bool(true) +string(10) "1234567890" +bool(true) +string(0) "" +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_id_error.php b/hphp/test/zend/bad/ext-session/session_id_error.php new file mode 100644 index 000000000..6918a6a93 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_id_error.php @@ -0,0 +1,89 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_id_error.php.expectf b/hphp/test/zend/bad/ext-session/session_id_error.php.expectf new file mode 100644 index 000000000..b79437586 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_id_error.php.expectf @@ -0,0 +1,75 @@ +*** Testing session_id() : error functionality *** + +-- Iteration 1 -- +string(0) "" + +-- Iteration 2 -- +string(1) "0" + +-- Iteration 3 -- +string(1) "1" + +-- Iteration 4 -- +string(5) "12345" + +-- Iteration 5 -- +string(5) "-2345" + +-- Iteration 6 -- +string(4) "10.5" + +-- Iteration 7 -- +string(5) "-10.5" + +-- Iteration 8 -- +string(12) "123456789000" + +-- Iteration 9 -- +string(13) "1.23456789E-9" + +-- Iteration 10 -- +string(3) "0.5" + +-- Iteration 11 -- +string(0) "" + +-- Iteration 12 -- +string(0) "" + +-- Iteration 13 -- +string(1) "1" + +-- Iteration 14 -- +string(0) "" + +-- Iteration 15 -- +string(1) "1" + +-- Iteration 16 -- +string(0) "" + +-- Iteration 17 -- +string(0) "" + +-- Iteration 18 -- +string(0) "" + +-- Iteration 19 -- +string(7) "Nothing" + +-- Iteration 20 -- +string(7) "Nothing" + +-- Iteration 21 -- +string(12) "Hello World!" + +-- Iteration 22 -- +string(12) "Hello World!" + +-- Iteration 23 -- +string(0) "" + +-- Iteration 24 -- +HipHop Warning: %a +NULL +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_id_error2.php b/hphp/test/zend/bad/ext-session/session_id_error2.php new file mode 100644 index 000000000..13cf5ab24 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_id_error2.php @@ -0,0 +1,24 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_id_error2.php.expectf b/hphp/test/zend/bad/ext-session/session_id_error2.php.expectf new file mode 100644 index 000000000..6a36b12d6 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_id_error2.php.expectf @@ -0,0 +1,10 @@ +*** Testing session_id() : error functionality *** +string(0) "" +bool(true) +string(%d) "%s" +string(4) "test" +string(4) "test" +string(10) "1234567890" +bool(true) +string(0) "" +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_id_error3.php b/hphp/test/zend/bad/ext-session/session_id_error3.php new file mode 100644 index 000000000..4c0bcfd4d --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_id_error3.php @@ -0,0 +1,51 @@ +<")); +var_dump(session_id()); +@session_destroy(); + +@session_start(); +var_dump(session_id()); +var_dump(session_id("£$%^&*()")); +var_dump(session_id()); +@session_destroy(); + +@session_start(); +var_dump(session_id()); +var_dump(session_id("\r\n")); +var_dump(session_id()); +@session_destroy(); + +@session_start(); +var_dump(session_id()); +var_dump(session_id("\0")); +var_dump(session_id()); +@session_destroy(); + +@session_start(); +var_dump(session_id()); +var_dump(session_id("¬``@~:{>?><,./[]+--")); +var_dump(session_id()); +@session_destroy(); + +echo "Done"; +ob_end_flush(); +?> \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_id_error3.php.expectf b/hphp/test/zend/bad/ext-session/session_id_error3.php.expectf new file mode 100644 index 000000000..bbadd691f --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_id_error3.php.expectf @@ -0,0 +1,21 @@ +*** Testing session_id() : error functionality *** +string(%d) "%s" +string(%d) "%s" +string(1) "!" +string(%d) "%s" +string(%d) "%s" +string(3) "?><" +string(%d) "%s" +string(%d) "%s" +string(8) "£$%^&*()" +string(%d) "%s" +string(%d) "%s" +string(2) " +" +string(%d) "%s" +string(%d) "%s" +string(0) "" +string(%d) "%s" +string(%d) "%s" +string(19) "¬``@~:{>?><,./[]+--" +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_module_name_error.php b/hphp/test/zend/bad/ext-session/session_module_name_error.php new file mode 100644 index 000000000..eefac7995 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_module_name_error.php @@ -0,0 +1,88 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_module_name_error.php.expectf b/hphp/test/zend/bad/ext-session/session_module_name_error.php.expectf new file mode 100644 index 000000000..72fc0bf3e --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_module_name_error.php.expectf @@ -0,0 +1,98 @@ +*** Testing session_module_name() : error functionality *** + +-- Iteration 1 -- +HipHop Warning: %a +bool(false) + +-- Iteration 2 -- +HipHop Warning: %a +bool(false) + +-- Iteration 3 -- +HipHop Warning: %a +bool(false) + +-- Iteration 4 -- +HipHop Warning: %a +bool(false) + +-- Iteration 5 -- +HipHop Warning: %a +bool(false) + +-- Iteration 6 -- +HipHop Warning: %a +bool(false) + +-- Iteration 7 -- +HipHop Warning: %a +bool(false) + +-- Iteration 8 -- +HipHop Warning: %a +bool(false) + +-- Iteration 9 -- +HipHop Warning: %a +bool(false) + +-- Iteration 10 -- +HipHop Warning: %a +bool(false) + +-- Iteration 11 -- +HipHop Warning: %a +bool(false) + +-- Iteration 12 -- +HipHop Warning: %a +bool(false) + +-- Iteration 13 -- +HipHop Warning: %a +bool(false) + +-- Iteration 14 -- +HipHop Warning: %a +bool(false) + +-- Iteration 15 -- +HipHop Warning: %a +bool(false) + +-- Iteration 16 -- +HipHop Warning: %a +bool(false) + +-- Iteration 17 -- +HipHop Warning: %a +bool(false) + +-- Iteration 18 -- +HipHop Warning: %a +bool(false) + +-- Iteration 19 -- +HipHop Warning: %a +bool(false) + +-- Iteration 20 -- +HipHop Warning: %a +bool(false) + +-- Iteration 21 -- +HipHop Warning: %a +bool(false) + +-- Iteration 22 -- +HipHop Warning: %a +bool(false) + +-- Iteration 23 -- +HipHop Warning: %a +bool(false) + +-- Iteration 24 -- +HipHop Warning: %a +NULL +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_module_name_variation1.php b/hphp/test/zend/bad/ext-session/session_module_name_variation1.php new file mode 100644 index 000000000..c2fef1394 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_module_name_variation1.php @@ -0,0 +1,20 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_module_name_variation1.php.expectf b/hphp/test/zend/bad/ext-session/session_module_name_variation1.php.expectf new file mode 100644 index 000000000..2383ad7ae --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_module_name_variation1.php.expectf @@ -0,0 +1,8 @@ +*** Testing session_module_name() : variation *** +HipHop Warning: %a +bool(false) +bool(true) +string(%d) "%s" +bool(true) +string(%d) "%s" +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_regenerate_id_basic.php b/hphp/test/zend/bad/ext-session/session_regenerate_id_basic.php new file mode 100644 index 000000000..f2ef09f25 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_regenerate_id_basic.php @@ -0,0 +1,25 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_regenerate_id_basic.php.expectf b/hphp/test/zend/bad/ext-session/session_regenerate_id_basic.php.expectf new file mode 100644 index 000000000..dd57187d7 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_regenerate_id_basic.php.expectf @@ -0,0 +1,11 @@ +*** Testing session_regenerate_id() : basic functionality *** +string(0) "" +bool(false) +string(0) "" +bool(true) +bool(true) +string(%d) "%s" +bool(true) +bool(false) +string(0) "" +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_regenerate_id_error.php b/hphp/test/zend/bad/ext-session/session_regenerate_id_error.php new file mode 100644 index 000000000..76706a767 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_regenerate_id_error.php @@ -0,0 +1,89 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_regenerate_id_error.php.expectf b/hphp/test/zend/bad/ext-session/session_regenerate_id_error.php.expectf new file mode 100644 index 000000000..21e1bebcf --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_regenerate_id_error.php.expectf @@ -0,0 +1,76 @@ +*** Testing session_regenerate_id() : error functionality *** + +-- Iteration 1 -- +bool(false) + +-- Iteration 2 -- +bool(false) + +-- Iteration 3 -- +bool(false) + +-- Iteration 4 -- +bool(false) + +-- Iteration 5 -- +bool(false) + +-- Iteration 6 -- +bool(false) + +-- Iteration 7 -- +bool(false) + +-- Iteration 8 -- +bool(false) + +-- Iteration 9 -- +bool(false) + +-- Iteration 10 -- +bool(false) + +-- Iteration 11 -- +bool(false) + +-- Iteration 12 -- +bool(false) + +-- Iteration 13 -- +bool(false) + +-- Iteration 14 -- +bool(false) + +-- Iteration 15 -- +bool(false) + +-- Iteration 16 -- +bool(false) + +-- Iteration 17 -- +bool(false) + +-- Iteration 18 -- +bool(false) + +-- Iteration 19 -- +bool(false) + +-- Iteration 20 -- +bool(false) + +-- Iteration 21 -- +HipHop Warning: %a +NULL + +-- Iteration 22 -- +bool(false) + +-- Iteration 23 -- +bool(false) + +-- Iteration 24 -- +HipHop Warning: %a +NULL +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_regenerate_id_variation1.php b/hphp/test/zend/bad/ext-session/session_regenerate_id_variation1.php new file mode 100644 index 000000000..a59d2ae8c --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_regenerate_id_variation1.php @@ -0,0 +1,25 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_regenerate_id_variation1.php.expectf b/hphp/test/zend/bad/ext-session/session_regenerate_id_variation1.php.expectf new file mode 100644 index 000000000..ad8d3c067 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_regenerate_id_variation1.php.expectf @@ -0,0 +1,11 @@ +*** Testing session_regenerate_id() : variation *** +string(0) "" +bool(false) +string(0) "" +bool(true) +bool(true) +string(%d) "%s" +bool(true) +bool(false) +string(0) "" +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_set_cookie_params_error.php b/hphp/test/zend/bad/ext-session/session_set_cookie_params_error.php new file mode 100644 index 000000000..c5dc85921 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_set_cookie_params_error.php @@ -0,0 +1,93 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_set_cookie_params_error.php.expectf b/hphp/test/zend/bad/ext-session/session_set_cookie_params_error.php.expectf new file mode 100644 index 000000000..a6602e92c --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_set_cookie_params_error.php.expectf @@ -0,0 +1,200 @@ +*** Testing session_set_cookie_params() : error functionality *** + +-- Iteration 1 -- +NULL +NULL +NULL +NULL +NULL +NULL + +-- Iteration 2 -- +NULL +NULL +NULL +NULL +NULL +NULL + +-- Iteration 3 -- +NULL +NULL +NULL +NULL +NULL +NULL + +-- Iteration 4 -- +NULL +NULL +NULL +NULL +NULL +NULL + +-- Iteration 5 -- +NULL +NULL +NULL +NULL +NULL +NULL + +-- Iteration 6 -- +NULL +NULL +NULL +NULL +NULL +NULL + +-- Iteration 7 -- +NULL +NULL +NULL +NULL +NULL +NULL + +-- Iteration 8 -- +NULL +NULL +NULL +NULL +NULL +NULL + +-- Iteration 9 -- +NULL +NULL +NULL +NULL +NULL +NULL + +-- Iteration 10 -- +NULL +NULL +NULL +NULL +NULL +NULL + +-- Iteration 11 -- +NULL +NULL +NULL +NULL +NULL +NULL + +-- Iteration 12 -- +NULL +NULL +NULL +NULL +NULL +NULL + +-- Iteration 13 -- +NULL +NULL +NULL +NULL +NULL +NULL + +-- Iteration 14 -- +NULL +NULL +NULL +NULL +NULL +NULL + +-- Iteration 15 -- +NULL +NULL +NULL +NULL +NULL +NULL + +-- Iteration 16 -- +NULL +NULL +NULL +NULL +NULL +NULL + +-- Iteration 17 -- +NULL +NULL +NULL +NULL +NULL +NULL + +-- Iteration 18 -- +NULL +NULL +NULL +NULL +NULL +NULL + +-- Iteration 19 -- +NULL +NULL +NULL +NULL +NULL +NULL + +-- Iteration 20 -- +NULL +NULL +NULL +NULL +NULL +NULL + +-- Iteration 21 -- +NULL +NULL +NULL +HipHop Warning: %a +NULL +HipHop Warning: %a +NULL +NULL + +-- Iteration 22 -- +NULL +NULL +NULL +NULL +NULL +NULL + +-- Iteration 23 -- +NULL +NULL +NULL +NULL +NULL +NULL + +-- Iteration 24 -- +NULL +HipHop Warning: %a +NULL +HipHop Warning: %a +NULL +HipHop Warning: %a +NULL +HipHop Warning: %a +NULL +NULL +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_set_save_handler_error.php b/hphp/test/zend/bad/ext-session/session_set_save_handler_error.php new file mode 100644 index 000000000..bfa2ab51a --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_set_save_handler_error.php @@ -0,0 +1,89 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_set_save_handler_error.php.expectf b/hphp/test/zend/bad/ext-session/session_set_save_handler_error.php.expectf new file mode 100644 index 000000000..d610f7a81 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_set_save_handler_error.php.expectf @@ -0,0 +1,98 @@ +*** Testing session_set_save_handler() : error functionality *** + +-- Iteration 1 -- +HipHop Warning: %a +bool(false) + +-- Iteration 2 -- +HipHop Warning: %a +bool(false) + +-- Iteration 3 -- +HipHop Warning: %a +bool(false) + +-- Iteration 4 -- +HipHop Warning: %a +bool(false) + +-- Iteration 5 -- +HipHop Warning: %a +bool(false) + +-- Iteration 6 -- +HipHop Warning: %a +bool(false) + +-- Iteration 7 -- +HipHop Warning: %a +bool(false) + +-- Iteration 8 -- +HipHop Warning: %a +bool(false) + +-- Iteration 9 -- +HipHop Warning: %a +bool(false) + +-- Iteration 10 -- +HipHop Warning: %a +bool(false) + +-- Iteration 11 -- +HipHop Warning: %a +bool(false) + +-- Iteration 12 -- +HipHop Warning: %a +bool(false) + +-- Iteration 13 -- +HipHop Warning: %a +bool(false) + +-- Iteration 14 -- +HipHop Warning: %a +bool(false) + +-- Iteration 15 -- +HipHop Warning: %a +bool(false) + +-- Iteration 16 -- +HipHop Warning: %a +bool(false) + +-- Iteration 17 -- +HipHop Warning: %a +bool(false) + +-- Iteration 18 -- +HipHop Warning: %a +bool(false) + +-- Iteration 19 -- +HipHop Warning: %a +bool(false) + +-- Iteration 20 -- +HipHop Warning: %a +bool(false) + +-- Iteration 21 -- +HipHop Warning: %a +bool(false) + +-- Iteration 22 -- +HipHop Warning: %a +bool(false) + +-- Iteration 23 -- +HipHop Warning: %a +bool(false) + +-- Iteration 24 -- +HipHop Warning: %a +bool(false) +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_set_save_handler_error2.php b/hphp/test/zend/bad/ext-session/session_set_save_handler_error2.php new file mode 100644 index 000000000..087184a49 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_set_save_handler_error2.php @@ -0,0 +1,36 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_set_save_handler_error2.php.expectf b/hphp/test/zend/bad/ext-session/session_set_save_handler_error2.php.expectf new file mode 100644 index 000000000..a4f052eaa --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_set_save_handler_error2.php.expectf @@ -0,0 +1,19 @@ +*** Testing session_set_save_handler() : error functionality *** +array(3) { + ["Blah"]=> + string(12) "Hello World!" + ["Foo"]=> + bool(false) + ["Guff"]=> + int(1234567890) +} +array(3) { + ["Blah"]=> + string(12) "Hello World!" + ["Foo"]=> + bool(false) + ["Guff"]=> + int(1234567890) +} +array(0) { +} \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_set_save_handler_error4.php b/hphp/test/zend/bad/ext-session/session_set_save_handler_error4.php new file mode 100644 index 000000000..8649e47b8 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_set_save_handler_error4.php @@ -0,0 +1,24 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_set_save_handler_error4.php.expectf b/hphp/test/zend/bad/ext-session/session_set_save_handler_error4.php.expectf new file mode 100644 index 000000000..69898bd5d --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_set_save_handler_error4.php.expectf @@ -0,0 +1,6 @@ +*** Testing session_set_save_handler() : error functionality *** +HipHop Warning: %a +HipHop Warning: %a +HipHop Warning: %a +HipHop Warning: %a +HipHop Warning: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_set_save_handler_variation1.php b/hphp/test/zend/bad/ext-session/session_set_save_handler_variation1.php new file mode 100644 index 000000000..4e3f05299 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_set_save_handler_variation1.php @@ -0,0 +1,22 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_set_save_handler_variation1.php.expectf b/hphp/test/zend/bad/ext-session/session_set_save_handler_variation1.php.expectf new file mode 100644 index 000000000..5ab174a0a --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_set_save_handler_variation1.php.expectf @@ -0,0 +1,10 @@ +*** Testing session_set_save_handler() : variation *** +string(%d) "%s" +HipHop Warning: %a +bool(false) +string(%d) "%s" +HipHop Warning: %a +bool(false) +string(%d) "%s" +string(%d) "%s" +string(5) "files" \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_start_error.php b/hphp/test/zend/bad/ext-session/session_start_error.php new file mode 100644 index 000000000..b14b5608a --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_start_error.php @@ -0,0 +1,90 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_start_error.php.expectf b/hphp/test/zend/bad/ext-session/session_start_error.php.expectf new file mode 100644 index 000000000..905d333fa --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_start_error.php.expectf @@ -0,0 +1,98 @@ +*** Testing session_start() : error functionality *** + +-- Iteration 1 -- +bool(true) +bool(true) + +-- Iteration 2 -- +bool(true) +bool(true) + +-- Iteration 3 -- +bool(true) +bool(true) + +-- Iteration 4 -- +bool(true) +bool(true) + +-- Iteration 5 -- +bool(true) +bool(true) + +-- Iteration 6 -- +bool(true) +bool(true) + +-- Iteration 7 -- +bool(true) +bool(true) + +-- Iteration 8 -- +bool(true) +bool(true) + +-- Iteration 9 -- +bool(true) +bool(true) + +-- Iteration 10 -- +bool(true) +bool(true) + +-- Iteration 11 -- +bool(true) +bool(true) + +-- Iteration 12 -- +bool(true) +bool(true) + +-- Iteration 13 -- +bool(true) +bool(true) + +-- Iteration 14 -- +bool(true) +bool(true) + +-- Iteration 15 -- +bool(true) +bool(true) + +-- Iteration 16 -- +bool(true) +bool(true) + +-- Iteration 17 -- +bool(true) +bool(true) + +-- Iteration 18 -- +bool(true) +bool(true) + +-- Iteration 19 -- +bool(true) +bool(true) + +-- Iteration 20 -- +bool(true) +bool(true) + +-- Iteration 21 -- +bool(true) +bool(true) + +-- Iteration 22 -- +bool(true) +bool(true) + +-- Iteration 23 -- +bool(true) +bool(true) + +-- Iteration 24 -- +bool(true) +bool(true) +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_start_variation1.php b/hphp/test/zend/bad/ext-session/session_start_variation1.php new file mode 100644 index 000000000..01ccd99aa --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_start_variation1.php @@ -0,0 +1,22 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_start_variation1.php.expectf b/hphp/test/zend/bad/ext-session/session_start_variation1.php.expectf new file mode 100644 index 000000000..ecb77e998 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_start_variation1.php.expectf @@ -0,0 +1,11 @@ +*** Testing session_start() : variation *** +bool(true) +HipHop Notice: %a +bool(true) +HipHop Notice: %a +bool(true) +HipHop Notice: %a +bool(true) +HipHop Notice: %a +bool(true) +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_start_variation3.php b/hphp/test/zend/bad/ext-session/session_start_variation3.php new file mode 100644 index 000000000..839ee5d65 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_start_variation3.php @@ -0,0 +1,27 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_start_variation3.php.expectf b/hphp/test/zend/bad/ext-session/session_start_variation3.php.expectf new file mode 100644 index 000000000..36281a311 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_start_variation3.php.expectf @@ -0,0 +1,14 @@ +*** Testing session_start() : variation *** +bool(true) +NULL +bool(true) +NULL +bool(true) +NULL +bool(true) +NULL +bool(true) +NULL +HipHop Warning: %a +bool(false) +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_start_variation8.php b/hphp/test/zend/bad/ext-session/session_start_variation8.php new file mode 100644 index 000000000..6fed21a48 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_start_variation8.php @@ -0,0 +1,21 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_start_variation8.php.expectf b/hphp/test/zend/bad/ext-session/session_start_variation8.php.expectf new file mode 100644 index 000000000..d46a4455c --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_start_variation8.php.expectf @@ -0,0 +1,7 @@ +*** Testing session_start() : variation *** +string(0) "" +bool(true) +string(%d) "%s" +bool(true) +string(0) "" +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_status.php b/hphp/test/zend/bad/ext-session/session_status.php new file mode 100644 index 000000000..1baa7ebe2 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_status.php @@ -0,0 +1,14 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_status.php.expectf b/hphp/test/zend/bad/ext-session/session_status.php.expectf new file mode 100644 index 000000000..13dbacb32 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_status.php.expectf @@ -0,0 +1,4 @@ +*** Testing session_status() : active, none +bool(true) +bool(true) +bool(true) \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_unset_basic.php b/hphp/test/zend/bad/ext-session/session_unset_basic.php new file mode 100644 index 000000000..5845ec619 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_unset_basic.php @@ -0,0 +1,23 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_unset_basic.php.expectf b/hphp/test/zend/bad/ext-session/session_unset_basic.php.expectf new file mode 100644 index 000000000..63670304a --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_unset_basic.php.expectf @@ -0,0 +1,13 @@ +*** Testing session_unset() : basic functionality *** +bool(true) +array(1) { + ["foo"]=> + string(12) "Hello World!" +} +NULL +array(0) { +} +bool(true) +array(0) { +} +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_unset_error.php b/hphp/test/zend/bad/ext-session/session_unset_error.php new file mode 100644 index 000000000..860bf3112 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_unset_error.php @@ -0,0 +1,89 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_unset_error.php.expectf b/hphp/test/zend/bad/ext-session/session_unset_error.php.expectf new file mode 100644 index 000000000..90f8cb646 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_unset_error.php.expectf @@ -0,0 +1,74 @@ +*** Testing session_unset() : error functionality *** + +-- Iteration 1 -- +bool(false) + +-- Iteration 2 -- +bool(false) + +-- Iteration 3 -- +bool(false) + +-- Iteration 4 -- +bool(false) + +-- Iteration 5 -- +bool(false) + +-- Iteration 6 -- +bool(false) + +-- Iteration 7 -- +bool(false) + +-- Iteration 8 -- +bool(false) + +-- Iteration 9 -- +bool(false) + +-- Iteration 10 -- +bool(false) + +-- Iteration 11 -- +bool(false) + +-- Iteration 12 -- +bool(false) + +-- Iteration 13 -- +bool(false) + +-- Iteration 14 -- +bool(false) + +-- Iteration 15 -- +bool(false) + +-- Iteration 16 -- +bool(false) + +-- Iteration 17 -- +bool(false) + +-- Iteration 18 -- +bool(false) + +-- Iteration 19 -- +bool(false) + +-- Iteration 20 -- +bool(false) + +-- Iteration 21 -- +bool(false) + +-- Iteration 22 -- +bool(false) + +-- Iteration 23 -- +bool(false) + +-- Iteration 24 -- +bool(false) +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_write_close_error.php b/hphp/test/zend/bad/ext-session/session_write_close_error.php new file mode 100644 index 000000000..2994e67e0 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_write_close_error.php @@ -0,0 +1,89 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_write_close_error.php.expectf b/hphp/test/zend/bad/ext-session/session_write_close_error.php.expectf new file mode 100644 index 000000000..a2d79683d --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_write_close_error.php.expectf @@ -0,0 +1,74 @@ +*** Testing session_write_close() : error functionality *** + +-- Iteration 1 -- +NULL + +-- Iteration 2 -- +NULL + +-- Iteration 3 -- +NULL + +-- Iteration 4 -- +NULL + +-- Iteration 5 -- +NULL + +-- Iteration 6 -- +NULL + +-- Iteration 7 -- +NULL + +-- Iteration 8 -- +NULL + +-- Iteration 9 -- +NULL + +-- Iteration 10 -- +NULL + +-- Iteration 11 -- +NULL + +-- Iteration 12 -- +NULL + +-- Iteration 13 -- +NULL + +-- Iteration 14 -- +NULL + +-- Iteration 15 -- +NULL + +-- Iteration 16 -- +NULL + +-- Iteration 17 -- +NULL + +-- Iteration 18 -- +NULL + +-- Iteration 19 -- +NULL + +-- Iteration 20 -- +NULL + +-- Iteration 21 -- +NULL + +-- Iteration 22 -- +NULL + +-- Iteration 23 -- +NULL + +-- Iteration 24 -- +NULL +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_write_close_variation4.php b/hphp/test/zend/bad/ext-session/session_write_close_variation4.php new file mode 100644 index 000000000..3b5303349 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_write_close_variation4.php @@ -0,0 +1,31 @@ + \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/session_write_close_variation4.php.expectf b/hphp/test/zend/bad/ext-session/session_write_close_variation4.php.expectf new file mode 100644 index 000000000..ea40874b1 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/session_write_close_variation4.php.expectf @@ -0,0 +1,17 @@ +*** Testing session_write_close() : variation *** +string(0) "" +bool(true) +string(4) "test" +NULL +string(4) "test" +bool(true) +string(4) "test" +NULL +string(4) "test" +bool(true) +string(4) "test" +NULL +string(4) "test" +bool(true) +bool(true) +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/sessionhandler_open_001.php b/hphp/test/zend/bad/ext-session/sessionhandler_open_001.php new file mode 100644 index 000000000..788c60662 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/sessionhandler_open_001.php @@ -0,0 +1,12 @@ +open('',''); +$x->open('',''); +$x->open('',''); +$x->open('',''); + +print "Done!\n"; + +?> \ No newline at end of file diff --git a/hphp/test/zend/bad/ext-session/sessionhandler_open_001.php.expectf b/hphp/test/zend/bad/ext-session/sessionhandler_open_001.php.expectf new file mode 100644 index 000000000..8d74cbaf1 --- /dev/null +++ b/hphp/test/zend/bad/ext-session/sessionhandler_open_001.php.expectf @@ -0,0 +1 @@ +Done! \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/002.php b/hphp/test/zend/good/ext-session/002.php new file mode 100644 index 000000000..963a995e4 --- /dev/null +++ b/hphp/test/zend/good/ext-session/002.php @@ -0,0 +1,4 @@ + \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/bug31454.php.expectf b/hphp/test/zend/good/ext-session/bug31454.php.expectf new file mode 100644 index 000000000..105759ffa --- /dev/null +++ b/hphp/test/zend/good/ext-session/bug31454.php.expectf @@ -0,0 +1,2 @@ +HipHop Warning: %a +Done \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/bug38377.php b/hphp/test/zend/good/ext-session/bug38377.php new file mode 100644 index 000000000..de835f680 --- /dev/null +++ b/hphp/test/zend/good/ext-session/bug38377.php @@ -0,0 +1,6 @@ + \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/bug38377.php.expectf b/hphp/test/zend/good/ext-session/bug38377.php.expectf new file mode 100644 index 000000000..8ad96f878 --- /dev/null +++ b/hphp/test/zend/good/ext-session/bug38377.php.expectf @@ -0,0 +1 @@ +Done \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/save_handler.inc b/hphp/test/zend/good/ext-session/save_handler.inc new file mode 100644 index 000000000..ebe9cac56 --- /dev/null +++ b/hphp/test/zend/good/ext-session/save_handler.inc @@ -0,0 +1,63 @@ + + diff --git a/hphp/test/zend/good/ext-session/session_cache_expire_basic.php b/hphp/test/zend/good/ext-session/session_cache_expire_basic.php new file mode 100644 index 000000000..4a4231f9f --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_cache_expire_basic.php @@ -0,0 +1,23 @@ + \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_cache_expire_basic.php.expectf b/hphp/test/zend/good/ext-session/session_cache_expire_basic.php.expectf new file mode 100644 index 000000000..21db72a36 --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_cache_expire_basic.php.expectf @@ -0,0 +1,9 @@ +*** Testing session_cache_expire() : basic functionality *** +int(180) +int(180) +int(1234567890) +bool(true) +int(180) +bool(true) +int(180) +Done \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_cache_expire_error.php b/hphp/test/zend/good/ext-session/session_cache_expire_error.php new file mode 100644 index 000000000..25fb7d0cf --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_cache_expire_error.php @@ -0,0 +1,89 @@ + \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_cache_expire_error.php.expectf b/hphp/test/zend/good/ext-session/session_cache_expire_error.php.expectf new file mode 100644 index 000000000..f6ef59e55 --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_cache_expire_error.php.expectf @@ -0,0 +1,74 @@ +*** Testing session_cache_expire() : error functionality *** + +-- Iteration 1 -- +int(180) + +-- Iteration 2 -- +int(0) + +-- Iteration 3 -- +int(1) + +-- Iteration 4 -- +int(12345) + +-- Iteration 5 -- +int(-2345) + +-- Iteration 6 -- +int(10) + +-- Iteration 7 -- +int(-10) + +-- Iteration 8 -- +int(%s) + +-- Iteration 9 -- +int(1) + +-- Iteration 10 -- +int(0) + +-- Iteration 11 -- +int(0) + +-- Iteration 12 -- +int(0) + +-- Iteration 13 -- +int(1) + +-- Iteration 14 -- +int(0) + +-- Iteration 15 -- +int(1) + +-- Iteration 16 -- +int(0) + +-- Iteration 17 -- +int(0) + +-- Iteration 18 -- +int(0) + +-- Iteration 19 -- +int(0) + +-- Iteration 20 -- +int(0) + +-- Iteration 21 -- +int(0) + +-- Iteration 22 -- +int(0) + +-- Iteration 23 -- +int(0) + +-- Iteration 24 -- +int(0) +Done \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_cache_limiter_basic.php b/hphp/test/zend/good/ext-session/session_cache_limiter_basic.php new file mode 100644 index 000000000..11f7be765 --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_cache_limiter_basic.php @@ -0,0 +1,39 @@ + \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_cache_limiter_basic.php.expectf b/hphp/test/zend/good/ext-session/session_cache_limiter_basic.php.expectf new file mode 100644 index 000000000..47391de11 --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_cache_limiter_basic.php.expectf @@ -0,0 +1,22 @@ +*** Testing session_cache_limiter() : basic functionality *** +bool(true) +string(7) "nocache" +string(7) "nocache" +string(6) "public" +bool(true) +bool(true) +string(6) "public" +string(6) "public" +string(7) "private" +bool(true) +bool(true) +string(7) "private" +string(7) "private" +string(7) "nocache" +bool(true) +bool(true) +string(7) "nocache" +string(7) "nocache" +string(17) "private_no_expire" +bool(true) +Done \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_cache_limiter_variation2.php b/hphp/test/zend/good/ext-session/session_cache_limiter_variation2.php new file mode 100644 index 000000000..2dcc0e1c8 --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_cache_limiter_variation2.php @@ -0,0 +1,24 @@ + \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_cache_limiter_variation2.php.expectf b/hphp/test/zend/good/ext-session/session_cache_limiter_variation2.php.expectf new file mode 100644 index 000000000..bc5541050 --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_cache_limiter_variation2.php.expectf @@ -0,0 +1,9 @@ +*** Testing session_cache_limiter() : variation *** +string(7) "nocache" +bool(true) +string(7) "nocache" +string(7) "nocache" +string(6) "public" +bool(true) +string(6) "public" +Done \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_commit_basic.php b/hphp/test/zend/good/ext-session/session_commit_basic.php new file mode 100644 index 000000000..a9a39e3f3 --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_commit_basic.php @@ -0,0 +1,24 @@ + \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_commit_basic.php.expectf b/hphp/test/zend/good/ext-session/session_commit_basic.php.expectf new file mode 100644 index 000000000..6f44a2076 --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_commit_basic.php.expectf @@ -0,0 +1,14 @@ +*** Testing session_commit() : basic functionality *** +bool(true) +array(0) { +} +NULL +array(0) { +} +bool(true) +array(0) { +} +bool(true) +array(0) { +} +Done \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_commit_variation1.php b/hphp/test/zend/good/ext-session/session_commit_variation1.php new file mode 100644 index 000000000..445043e2c --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_commit_variation1.php @@ -0,0 +1,24 @@ + \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_commit_variation1.php.expectf b/hphp/test/zend/good/ext-session/session_commit_variation1.php.expectf new file mode 100644 index 000000000..55e410ed1 --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_commit_variation1.php.expectf @@ -0,0 +1,10 @@ +*** Testing session_commit() : variation *** +bool(true) +NULL +NULL +NULL +NULL +NULL +bool(true) +bool(true) +Done \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_commit_variation2.php b/hphp/test/zend/good/ext-session/session_commit_variation2.php new file mode 100644 index 000000000..9bbcacdf7 --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_commit_variation2.php @@ -0,0 +1,30 @@ + \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_commit_variation2.php.expectf b/hphp/test/zend/good/ext-session/session_commit_variation2.php.expectf new file mode 100644 index 000000000..f59c81e6f --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_commit_variation2.php.expectf @@ -0,0 +1,22 @@ +*** Testing session_commit() : variation *** +bool(true) +array(0) { +} +NULL +array(0) { +} +bool(true) +array(0) { +} +NULL +array(0) { +} +bool(true) +array(0) { +} +NULL +array(0) { +} +bool(true) +bool(true) +Done \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_decode_variation4.php b/hphp/test/zend/good/ext-session/session_decode_variation4.php new file mode 100644 index 000000000..472248f29 --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_decode_variation4.php @@ -0,0 +1,26 @@ + \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_decode_variation4.php.expectf b/hphp/test/zend/good/ext-session/session_decode_variation4.php.expectf new file mode 100644 index 000000000..80f0d3011 --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_decode_variation4.php.expectf @@ -0,0 +1,23 @@ +*** Testing session_decode() : variation *** +bool(true) +array(0) { +} +array(3) { + ["foo"]=> + int(1234567890) + ["bar"]=> + string(5) "Blah!" + ["guff"]=> + float(123.456) +} +bool(true) +array(3) { + ["foo"]=> + int(1234567890) + ["bar"]=> + string(5) "Blah!" + ["guff"]=> + float(123.456) +} +bool(true) +Done \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_destroy_variation2.php b/hphp/test/zend/good/ext-session/session_destroy_variation2.php new file mode 100644 index 000000000..6e68aab8c --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_destroy_variation2.php @@ -0,0 +1,26 @@ + \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_destroy_variation2.php.expectf b/hphp/test/zend/good/ext-session/session_destroy_variation2.php.expectf new file mode 100644 index 000000000..0f7a3f054 --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_destroy_variation2.php.expectf @@ -0,0 +1,12 @@ +*** Testing session_destroy() : variation *** +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) +Done \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_encode_variation3.php b/hphp/test/zend/good/ext-session/session_encode_variation3.php new file mode 100644 index 000000000..52176a344 --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_encode_variation3.php @@ -0,0 +1,22 @@ + \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_encode_variation3.php.expectf b/hphp/test/zend/good/ext-session/session_encode_variation3.php.expectf new file mode 100644 index 000000000..829673a35 --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_encode_variation3.php.expectf @@ -0,0 +1,5 @@ +*** Testing session_encode() : variation *** +bool(true) +string(34) "foo|a:3:{i:0;i:1;i:1;i:2;i:2;i:3;}" +bool(true) +Done \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_module_name_basic.php b/hphp/test/zend/good/ext-session/session_module_name_basic.php new file mode 100644 index 000000000..73d14dedc --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_module_name_basic.php @@ -0,0 +1,21 @@ + \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_module_name_basic.php.expectf b/hphp/test/zend/good/ext-session/session_module_name_basic.php.expectf new file mode 100644 index 000000000..8b2204e5a --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_module_name_basic.php.expectf @@ -0,0 +1,8 @@ +*** Testing session_module_name() : basic functionality *** +string(%d) "%s" +string(5) "files" +bool(true) +string(5) "files" +bool(true) +string(5) "files" +Done \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_set_cookie_params_basic.php b/hphp/test/zend/good/ext-session/session_set_cookie_params_basic.php new file mode 100644 index 000000000..672a79728 --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_set_cookie_params_basic.php @@ -0,0 +1,21 @@ + \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_set_cookie_params_basic.php.expectf b/hphp/test/zend/good/ext-session/session_set_cookie_params_basic.php.expectf new file mode 100644 index 000000000..8ba5e8a35 --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_set_cookie_params_basic.php.expectf @@ -0,0 +1,7 @@ +*** Testing session_set_cookie_params() : basic functionality *** +NULL +bool(true) +NULL +bool(true) +NULL +Done \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_set_save_handler_variation2.php b/hphp/test/zend/good/ext-session/session_set_save_handler_variation2.php new file mode 100644 index 000000000..4d0d60614 --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_set_save_handler_variation2.php @@ -0,0 +1,21 @@ + \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_set_save_handler_variation2.php.expectf b/hphp/test/zend/good/ext-session/session_set_save_handler_variation2.php.expectf new file mode 100644 index 000000000..0733e4b18 --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_set_save_handler_variation2.php.expectf @@ -0,0 +1,5 @@ +*** Testing session_set_save_handler() : variation *** + +bool(true) +bool(false) +bool(true) \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_start_variation2.php b/hphp/test/zend/good/ext-session/session_start_variation2.php new file mode 100644 index 000000000..e1f847030 --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_start_variation2.php @@ -0,0 +1,26 @@ + \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_start_variation2.php.expectf b/hphp/test/zend/good/ext-session/session_start_variation2.php.expectf new file mode 100644 index 000000000..92cb0c139 --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_start_variation2.php.expectf @@ -0,0 +1,12 @@ +*** Testing session_start() : variation *** +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) +Done \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_start_variation4.php b/hphp/test/zend/good/ext-session/session_start_variation4.php new file mode 100644 index 000000000..68b6b96f5 --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_start_variation4.php @@ -0,0 +1,22 @@ + \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_start_variation4.php.expectf b/hphp/test/zend/good/ext-session/session_start_variation4.php.expectf new file mode 100644 index 000000000..5c7790771 --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_start_variation4.php.expectf @@ -0,0 +1,8 @@ +*** Testing session_start() : variation *** +array(1) { + ["blah"]=> + string(3) "foo" +} +array(0) { +} +Done \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_start_variation5.php b/hphp/test/zend/good/ext-session/session_start_variation5.php new file mode 100644 index 000000000..56e499cd8 --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_start_variation5.php @@ -0,0 +1,28 @@ + \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_start_variation5.php.expectf b/hphp/test/zend/good/ext-session/session_start_variation5.php.expectf new file mode 100644 index 000000000..00ee77572 --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_start_variation5.php.expectf @@ -0,0 +1,23 @@ +*** Testing session_start() : variation *** +array(4) { + ["colour"]=> + string(5) "green" + ["animal"]=> + string(3) "cat" + ["person"]=> + string(5) "julia" + ["age"]=> + int(6) +} +NULL +array(4) { + ["colour"]=> + string(5) "green" + ["animal"]=> + string(3) "cat" + ["person"]=> + string(5) "julia" + ["age"]=> + int(6) +} +Done \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_start_variation6.php b/hphp/test/zend/good/ext-session/session_start_variation6.php new file mode 100644 index 000000000..21b0407e3 --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_start_variation6.php @@ -0,0 +1,29 @@ + \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_start_variation6.php.expectf b/hphp/test/zend/good/ext-session/session_start_variation6.php.expectf new file mode 100644 index 000000000..0edeac800 --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_start_variation6.php.expectf @@ -0,0 +1,33 @@ +*** Testing session_start() : variation *** +array(4) { + ["colour"]=> + string(5) "green" + ["animal"]=> + string(3) "cat" + ["person"]=> + string(5) "julia" + ["age"]=> + int(6) +} +NULL +array(4) { + ["colour"]=> + string(5) "green" + ["animal"]=> + string(3) "cat" + ["person"]=> + string(5) "julia" + ["age"]=> + int(6) +} +array(4) { + ["colour"]=> + string(5) "green" + ["animal"]=> + string(3) "cat" + ["person"]=> + string(5) "julia" + ["age"]=> + int(6) +} +Done \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_start_variation7.php b/hphp/test/zend/good/ext-session/session_start_variation7.php new file mode 100644 index 000000000..a996adcc1 --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_start_variation7.php @@ -0,0 +1,29 @@ + \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_start_variation7.php.expectf b/hphp/test/zend/good/ext-session/session_start_variation7.php.expectf new file mode 100644 index 000000000..6a93c3a1d --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_start_variation7.php.expectf @@ -0,0 +1,25 @@ +*** Testing session_start() : variation *** +array(4) { + ["colour"]=> + string(5) "green" + ["animal"]=> + string(3) "cat" + ["person"]=> + string(5) "julia" + ["age"]=> + int(6) +} +bool(true) +array(4) { + ["colour"]=> + string(5) "green" + ["animal"]=> + string(3) "cat" + ["person"]=> + string(5) "julia" + ["age"]=> + int(6) +} +array(0) { +} +Done \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_unset_variation1.php b/hphp/test/zend/good/ext-session/session_unset_variation1.php new file mode 100644 index 000000000..f13e5198c --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_unset_variation1.php @@ -0,0 +1,25 @@ + \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_unset_variation1.php.expectf b/hphp/test/zend/good/ext-session/session_unset_variation1.php.expectf new file mode 100644 index 000000000..117187f82 --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_unset_variation1.php.expectf @@ -0,0 +1,16 @@ +*** Testing session_unset() : variation *** +bool(false) +bool(true) +NULL +array(1) { + ["foo"]=> + string(12) "Hello World!" +} +bool(true) +bool(false) +array(1) { + ["foo"]=> + string(12) "Hello World!" +} +bool(false) +Done \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_write_close_basic.php b/hphp/test/zend/good/ext-session/session_write_close_basic.php new file mode 100644 index 000000000..5a24fb69f --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_write_close_basic.php @@ -0,0 +1,24 @@ + \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_write_close_basic.php.expectf b/hphp/test/zend/good/ext-session/session_write_close_basic.php.expectf new file mode 100644 index 000000000..8a4dc7dd7 --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_write_close_basic.php.expectf @@ -0,0 +1,14 @@ +*** Testing session_write_close() : basic functionality *** +bool(true) +array(0) { +} +NULL +array(0) { +} +bool(true) +array(0) { +} +bool(true) +array(0) { +} +Done \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_write_close_variation1.php b/hphp/test/zend/good/ext-session/session_write_close_variation1.php new file mode 100644 index 000000000..9ca4974c4 --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_write_close_variation1.php @@ -0,0 +1,24 @@ + \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_write_close_variation1.php.expectf b/hphp/test/zend/good/ext-session/session_write_close_variation1.php.expectf new file mode 100644 index 000000000..9b8bdc6b8 --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_write_close_variation1.php.expectf @@ -0,0 +1,10 @@ +*** Testing session_write_close() : variation *** +bool(true) +NULL +NULL +NULL +NULL +NULL +bool(true) +bool(true) +Done \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_write_close_variation2.php b/hphp/test/zend/good/ext-session/session_write_close_variation2.php new file mode 100644 index 000000000..84d05f004 --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_write_close_variation2.php @@ -0,0 +1,30 @@ + \ No newline at end of file diff --git a/hphp/test/zend/good/ext-session/session_write_close_variation2.php.expectf b/hphp/test/zend/good/ext-session/session_write_close_variation2.php.expectf new file mode 100644 index 000000000..29f59a332 --- /dev/null +++ b/hphp/test/zend/good/ext-session/session_write_close_variation2.php.expectf @@ -0,0 +1,22 @@ +*** Testing session_write_close() : variation *** +bool(true) +array(0) { +} +NULL +array(0) { +} +bool(true) +array(0) { +} +NULL +array(0) { +} +bool(true) +array(0) { +} +NULL +array(0) { +} +bool(true) +bool(true) +Done \ No newline at end of file diff --git a/hphp/tools/import_zend_test.py b/hphp/tools/import_zend_test.py index d8db26f3c..1d58244ce 100755 --- a/hphp/tools/import_zend_test.py +++ b/hphp/tools/import_zend_test.py @@ -99,10 +99,12 @@ no_import = ( 'Zend/tests/callable_type_hint_003.phpt', 'Zend/tests/jump13.phpt', 'Zend/tests/heredoc_005.phpt', + 'gd/tests/crafted_gd2.phpt', 'pcntl/tests/pcntl_exec.phpt', 'pcntl/tests/pcntl_exec_2.phpt', 'pcntl/tests/pcntl_exec_3.phpt', - 'gd/tests/crafted_gd2.phpt', + 'session/tests/bug61728.phpt', + 'session/tests/session_module_name_variation2.phpt', # not imported yet, but will be '/ext/gd', @@ -112,7 +114,6 @@ no_import = ( '/ext/pdo_sqlite', '/ext/pgsql', '/ext/posix', - '/ext/session', '/ext/simplexml', '/ext/soap', '/ext/spl', @@ -217,6 +218,7 @@ other_files = ( '/ext-openssl/openssl.cnf', '/ext-openssl/private.key', '/ext-openssl/public.key', + '/ext-session/save_handler.inc', '/tests/quicktester.inc', )