summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gdbinit75
-rw-r--r--.gitattributes261
-rw-r--r--EXTENSIONS4
-rw-r--r--Makefile.global6
-rw-r--r--NEWS732
-rw-r--r--README.NEW-OUTPUT-API142
-rw-r--r--README.PARAMETER_PARSING_API1
-rw-r--r--README.RELEASE_PROCESS34
-rw-r--r--README.input_filter22
-rw-r--r--TODO136
-rw-r--r--TODO-5.14
-rw-r--r--TODO-PHP589
-rw-r--r--TSRM/TSRM.c16
-rw-r--r--TSRM/TSRM.h7
-rw-r--r--TSRM/acconfig.h1
-rw-r--r--TSRM/build.mk2
-rw-r--r--TSRM/configure.in4
-rw-r--r--TSRM/tsrm.m42
-rw-r--r--TSRM/tsrm_virtual_cwd.c58
-rw-r--r--TSRM/tsrm_virtual_cwd.h10
-rw-r--r--TSRM/tsrm_win32.c12
-rw-r--r--TSRM/tsrm_win32.h4
-rwxr-xr-xUPGRADING1283
-rw-r--r--UPGRADING.INTERNALS190
-rw-r--r--Zend/Makefile.am2
-rw-r--r--Zend/README.ZEND_MM3
-rw-r--r--Zend/Zend.dsp12
-rw-r--r--Zend/Zend.m441
-rw-r--r--Zend/ZendTS.dsp12
-rw-r--r--Zend/acconfig.h127
-rw-r--r--Zend/bench.php1
-rw-r--r--Zend/build.mk2
-rw-r--r--Zend/configure.in99
-rw-r--r--Zend/micro_bench.php358
-rw-r--r--Zend/tests/026.phpt2
-rw-r--r--Zend/tests/033.phpt4
-rw-r--r--Zend/tests/argument_restriction_001.phpt16
-rw-r--r--Zend/tests/argument_restriction_002.phpt16
-rw-r--r--Zend/tests/argument_restriction_003.phpt19
-rw-r--r--Zend/tests/argument_restriction_004.phpt17
-rw-r--r--Zend/tests/argument_restriction_005.phpt11
-rw-r--r--Zend/tests/argument_restriction_006.phpt16
-rwxr-xr-xZend/tests/array_type_hint_001.phpt2
-rw-r--r--Zend/tests/binary-32bit.phpt154
-rw-r--r--Zend/tests/binary.phpt154
-rw-r--r--Zend/tests/bug31098.phpt16
-rwxr-xr-xZend/tests/bug35655.phpt1
-rw-r--r--Zend/tests/bug39018.phpt39
-rwxr-xr-xZend/tests/bug39304.phpt9
-rw-r--r--Zend/tests/bug39304_2_4.phpt18
-rw-r--r--Zend/tests/bug42767.phpt1
-rw-r--r--Zend/tests/bug47981.phpt4
-rw-r--r--Zend/tests/bug51421.phpt18
-rw-r--r--Zend/tests/bug52041.phpt49
-rw-r--r--Zend/tests/bug52237.phpt1
-rw-r--r--Zend/tests/bug52614.phpt83
-rw-r--r--Zend/tests/bug52940.phpt23
-rw-r--r--Zend/tests/bug53347.phpt17
-rw-r--r--Zend/tests/bug53511.phpt33
-rw-r--r--Zend/tests/bug53748.phpt39
-rw-r--r--Zend/tests/bug54262.phpt2
-rw-r--r--Zend/tests/bug54547.phpt21
-rw-r--r--Zend/tests/bug55086.phpt36
-rw-r--r--Zend/tests/bug55135.phpt38
-rw-r--r--Zend/tests/bug55137.phpt26
-rw-r--r--Zend/tests/bug55247.phpt33
-rw-r--r--Zend/tests/bug55305.phpt16
-rw-r--r--Zend/tests/bug55339.phpt31
-rw-r--r--Zend/tests/bug55445.phpt8
-rw-r--r--Zend/tests/bug55578.phpt20
-rw-r--r--Zend/tests/bug55705.phpt9
-rw-r--r--Zend/tests/bug55825.phpt17
-rw-r--r--Zend/tests/bug60139.phpt2
-rwxr-xr-xZend/tests/bug60169.phpt11
-rw-r--r--Zend/tests/bug60350.phpt11
-rw-r--r--Zend/tests/bug60362.phpt74
-rw-r--r--Zend/tests/bug60444.phpt18
-rw-r--r--Zend/tests/bug60536_001.phpt25
-rw-r--r--Zend/tests/bug60536_002.phpt40
-rw-r--r--Zend/tests/bug60536_003.phpt46
-rw-r--r--Zend/tests/bug60536_004.phpt37
-rw-r--r--Zend/tests/bug60536_005.phpt38
-rwxr-xr-xZend/tests/bug60573.phpt84
-rw-r--r--Zend/tests/bug60611.phpt27
-rw-r--r--Zend/tests/bug60613.phpt18
-rwxr-xr-xZend/tests/bug60978.phpt10
-rw-r--r--Zend/tests/bug61011.phpt35
-rw-r--r--Zend/tests/bug61225.phpt9
-rwxr-xr-xZend/tests/bug61761.phpt18
-rw-r--r--Zend/tests/bug61782.phpt29
-rw-r--r--Zend/tests/bug62005.phpt2
-rw-r--r--Zend/tests/bug62097.phpt17
-rw-r--r--Zend/tests/callable_type_hint_001.phpt39
-rw-r--r--Zend/tests/callable_type_hint_002.phpt27
-rw-r--r--Zend/tests/callable_type_hint_003.phpt21
-rw-r--r--Zend/tests/cast_to_string.phptbin621 -> 721 bytes
-rw-r--r--Zend/tests/class_exists_003.phpt6
-rw-r--r--Zend/tests/closure_005.phpt74
-rw-r--r--Zend/tests/closure_007.phpt38
-rw-r--r--Zend/tests/closure_020.phpt6
-rw-r--r--Zend/tests/closure_024.phpt26
-rw-r--r--Zend/tests/closure_026.phpt11
-rwxr-xr-xZend/tests/closure_036.phpt33
-rwxr-xr-xZend/tests/closure_037.phpt47
-rw-r--r--Zend/tests/closure_038.phpt58
-rw-r--r--Zend/tests/closure_039.phpt58
-rw-r--r--Zend/tests/closure_040.phpt45
-rw-r--r--Zend/tests/closure_041.phpt106
-rw-r--r--Zend/tests/closure_042.phpt29
-rw-r--r--Zend/tests/closure_043.phpt86
-rw-r--r--Zend/tests/closure_044.phpt78
-rw-r--r--Zend/tests/closure_045.phpt19
-rw-r--r--Zend/tests/closure_046.phpt70
-rw-r--r--Zend/tests/concat_001.phpt20
-rwxr-xr-xZend/tests/constants_005.phpt3
-rw-r--r--Zend/tests/debug_backtrace_limit.phpt133
-rw-r--r--[-rwxr-xr-x]Zend/tests/debug_backtrace_options.phpt0
-rw-r--r--Zend/tests/debug_print_backtrace_limit.phpt31
-rw-r--r--Zend/tests/declare_001.phpt20
-rw-r--r--Zend/tests/declare_002.phpt31
-rw-r--r--Zend/tests/declare_003.phpt24
-rw-r--r--Zend/tests/declare_004.phpt27
-rw-r--r--Zend/tests/dereference_001.phpt51
-rw-r--r--Zend/tests/dereference_002.phpt79
-rw-r--r--Zend/tests/dereference_003.phpt46
-rw-r--r--Zend/tests/dereference_004.phpt27
-rw-r--r--Zend/tests/dereference_005.phpt38
-rw-r--r--Zend/tests/dereference_006.phpt30
-rw-r--r--Zend/tests/dereference_007.phpt37
-rw-r--r--Zend/tests/dereference_008.phpt33
-rw-r--r--Zend/tests/dereference_009.phpt26
-rw-r--r--Zend/tests/dereference_010.phpt27
-rw-r--r--Zend/tests/dereference_011.phpt45
-rw-r--r--Zend/tests/dereference_012.phpt56
-rw-r--r--Zend/tests/dereference_013.phpt38
-rw-r--r--Zend/tests/dereference_014.phpt34
-rw-r--r--Zend/tests/empty_str_offset.phpt89
-rw-r--r--Zend/tests/error_reporting01.phpt2
-rw-r--r--Zend/tests/error_reporting05.phpt2
-rw-r--r--Zend/tests/error_reporting06.phpt2
-rw-r--r--Zend/tests/error_reporting07.phpt2
-rw-r--r--Zend/tests/error_reporting10.phpt4
-rw-r--r--Zend/tests/fr47160.phpt150
-rw-r--r--Zend/tests/function_arguments_001.phpt2
-rw-r--r--Zend/tests/function_arguments_002.phpt2
-rw-r--r--Zend/tests/gc_022.phpt2
-rw-r--r--Zend/tests/gc_029.phpt2
-rw-r--r--Zend/tests/gc_029_zts.phpt37
-rw-r--r--Zend/tests/indexing_001.phpt2
-rw-r--r--Zend/tests/indirect_call_array_001.phpt11
-rw-r--r--Zend/tests/indirect_call_array_002.phpt11
-rw-r--r--Zend/tests/indirect_call_array_003.phpt38
-rw-r--r--Zend/tests/indirect_call_array_004.phpt71
-rw-r--r--Zend/tests/indirect_method_call_001.phpt20
-rw-r--r--Zend/tests/indirect_method_call_002.phpt32
-rw-r--r--Zend/tests/indirect_method_call_003.phpt23
-rw-r--r--Zend/tests/indirect_method_call_004.phpt26
-rw-r--r--Zend/tests/indirect_method_call_005.phpt16
-rw-r--r--Zend/tests/indirect_property_access.phpt26
-rw-r--r--Zend/tests/indirect_reference_this.phpt2
-rw-r--r--Zend/tests/isset_003.phpt4
-rw-r--r--Zend/tests/isset_003_2_4.phpt42
-rw-r--r--Zend/tests/isset_str_offset.phpt89
-rw-r--r--Zend/tests/magic_by_ref_010.phpt30
-rw-r--r--Zend/tests/method_static_var.phpt30
-rwxr-xr-xZend/tests/multibyte/multibyte_encoding_001.phpt3
-rwxr-xr-xZend/tests/multibyte/multibyte_encoding_002.phpt3
-rwxr-xr-xZend/tests/multibyte/multibyte_encoding_003.phptbin449 -> 471 bytes
-rw-r--r--Zend/tests/multibyte/multibyte_encoding_004.phpt5
-rw-r--r--Zend/tests/multibyte/multibyte_encoding_005.phpt5
-rw-r--r--Zend/tests/multibyte/multibyte_encoding_006.phptbin599 -> 629 bytes
-rw-r--r--Zend/tests/nowdoc_013.phpt1
-rw-r--r--Zend/tests/nowdoc_014.phpt1
-rw-r--r--Zend/tests/ns_071.phpt2
-rw-r--r--Zend/tests/ns_086.phpt8
-rw-r--r--Zend/tests/objects_002.phpt2
-rw-r--r--Zend/tests/objects_003.phpt2
-rw-r--r--Zend/tests/objects_004.phpt2
-rw-r--r--Zend/tests/objects_005.phpt2
-rw-r--r--Zend/tests/objects_006.phpt2
-rw-r--r--Zend/tests/objects_007.phpt2
-rw-r--r--Zend/tests/objects_008.phpt2
-rw-r--r--Zend/tests/objects_009.phpt2
-rw-r--r--Zend/tests/offset_assign.phpt8
-rw-r--r--Zend/tests/offset_string.phpt24
-rw-r--r--Zend/tests/result_unused.phpt29
-rw-r--r--Zend/tests/str_offset_001.phpt51
-rw-r--r--Zend/tests/str_offset_002.phpt9
-rw-r--r--Zend/tests/trait_exists_001.phpt21
-rw-r--r--Zend/tests/trait_exists_002.phpt21
-rw-r--r--Zend/tests/trait_exists_003.phpt24
-rw-r--r--Zend/tests/traits/bug54441.phpt19
-rw-r--r--Zend/tests/traits/bug55137.phpt26
-rw-r--r--Zend/tests/traits/bug55214.phpt71
-rw-r--r--Zend/tests/traits/bug55355.phpt46
-rw-r--r--Zend/tests/traits/bug55372.phpt28
-rw-r--r--Zend/tests/traits/bug55424.phpt35
-rw-r--r--Zend/tests/traits/bug55524.phpt15
-rw-r--r--Zend/tests/traits/bug55554a.phpt34
-rw-r--r--Zend/tests/traits/bug55554b.phpt56
-rw-r--r--Zend/tests/traits/bug55554c.phpt46
-rw-r--r--Zend/tests/traits/bug55554d.phpt32
-rw-r--r--Zend/tests/traits/bug55554e.phpt30
-rw-r--r--Zend/tests/traits/bug55554f.phpt29
-rw-r--r--Zend/tests/traits/bug55554g.phpt29
-rw-r--r--Zend/tests/traits/bug60145.phpt17
-rw-r--r--Zend/tests/traits/bug60153.phpt19
-rw-r--r--Zend/tests/traits/bug60165a.phpt17
-rw-r--r--Zend/tests/traits/bug60165b.phpt17
-rw-r--r--Zend/tests/traits/bug60165c.phpt22
-rw-r--r--Zend/tests/traits/bug60165d.phpt21
-rw-r--r--Zend/tests/traits/bug60173.phpt12
-rw-r--r--Zend/tests/traits/bug60217a.phpt26
-rw-r--r--Zend/tests/traits/bug60217b.phpt26
-rw-r--r--Zend/tests/traits/bug60217c.phpt26
-rw-r--r--Zend/tests/traits/bug60369.phpt17
-rw-r--r--Zend/tests/traits/bug60717.phpt73
-rw-r--r--Zend/tests/traits/bug60809.phpt36
-rw-r--r--Zend/tests/traits/bug61052.phpt18
-rw-r--r--Zend/tests/traits/bug61998.phpt68
-rw-r--r--Zend/tests/traits/bugs/abstract-methods01.phpt19
-rw-r--r--Zend/tests/traits/bugs/abstract-methods02.phpt26
-rw-r--r--Zend/tests/traits/bugs/abstract-methods03.phpt22
-rw-r--r--Zend/tests/traits/bugs/abstract-methods04.phpt36
-rw-r--r--Zend/tests/traits/bugs/abstract-methods05.phpt25
-rw-r--r--Zend/tests/traits/bugs/abstract-methods06.phpt26
-rw-r--r--Zend/tests/traits/bugs/alias-semantics.phpt23
-rw-r--r--Zend/tests/traits/bugs/alias-semantics02.phpt25
-rw-r--r--Zend/tests/traits/bugs/alias01.phpt26
-rw-r--r--Zend/tests/traits/bugs/case-sensitive.phpt23
-rw-r--r--Zend/tests/traits/bugs/interfaces.phpt19
-rw-r--r--Zend/tests/traits/bugs/missing-trait.phpt15
-rw-r--r--Zend/tests/traits/bugs/overridding-conflicting-methods.phpt31
-rw-r--r--Zend/tests/traits/bugs/overridding-conflicting-property-initializer.phpt23
-rw-r--r--Zend/tests/traits/conflict001.phpt25
-rw-r--r--Zend/tests/traits/conflict002.phpt32
-rw-r--r--Zend/tests/traits/conflict003.phpt31
-rw-r--r--Zend/tests/traits/error_001.phpt28
-rw-r--r--Zend/tests/traits/error_002.phpt12
-rw-r--r--Zend/tests/traits/error_003.phpt15
-rw-r--r--Zend/tests/traits/error_004.phpt15
-rw-r--r--Zend/tests/traits/error_005.phpt15
-rw-r--r--Zend/tests/traits/error_006.phpt15
-rw-r--r--Zend/tests/traits/error_007.phpt13
-rw-r--r--Zend/tests/traits/error_008.phpt12
-rw-r--r--Zend/tests/traits/error_009.phpt12
-rw-r--r--Zend/tests/traits/error_010.phpt27
-rw-r--r--Zend/tests/traits/error_011.phpt26
-rw-r--r--Zend/tests/traits/error_012.phpt19
-rw-r--r--Zend/tests/traits/error_013.phpt19
-rw-r--r--Zend/tests/traits/error_014.phpt23
-rw-r--r--Zend/tests/traits/error_015.phpt26
-rw-r--r--Zend/tests/traits/error_016.phpt12
-rw-r--r--Zend/tests/traits/flattening001.phpt42
-rw-r--r--Zend/tests/traits/flattening002.phpt28
-rw-r--r--Zend/tests/traits/flattening003.phpt32
-rw-r--r--Zend/tests/traits/get_declared_traits_001.phpt19
-rw-r--r--Zend/tests/traits/get_declared_traits_002.phpt20
-rw-r--r--Zend/tests/traits/get_declared_traits_003.phpt25
-rw-r--r--Zend/tests/traits/inheritance001.phpt24
-rw-r--r--Zend/tests/traits/inheritance002.phpt27
-rw-r--r--Zend/tests/traits/inheritance003.phpt38
-rw-r--r--Zend/tests/traits/interface_001.phpt25
-rw-r--r--Zend/tests/traits/interface_002.phpt24
-rw-r--r--Zend/tests/traits/interface_003.phpt27
-rw-r--r--Zend/tests/traits/language001.phpt21
-rw-r--r--Zend/tests/traits/language002.phpt32
-rw-r--r--Zend/tests/traits/language003.phpt29
-rw-r--r--Zend/tests/traits/language004.phpt31
-rw-r--r--Zend/tests/traits/language005.phpt40
-rw-r--r--Zend/tests/traits/language006.phpt31
-rw-r--r--Zend/tests/traits/language007.phpt30
-rw-r--r--Zend/tests/traits/language008a.phpt23
-rw-r--r--Zend/tests/traits/language008b.phpt30
-rw-r--r--Zend/tests/traits/language009.phpt36
-rw-r--r--Zend/tests/traits/language010.phpt30
-rw-r--r--Zend/tests/traits/language011.phpt30
-rw-r--r--Zend/tests/traits/language012.phpt27
-rw-r--r--Zend/tests/traits/language013.phpt37
-rw-r--r--Zend/tests/traits/methods_001.phpt39
-rw-r--r--Zend/tests/traits/methods_002.phpt28
-rw-r--r--Zend/tests/traits/methods_003.phpt24
-rw-r--r--Zend/tests/traits/noctor001.phpt28
-rw-r--r--Zend/tests/traits/property001.phpt41
-rw-r--r--Zend/tests/traits/property002.phpt32
-rw-r--r--Zend/tests/traits/property003.phpt30
-rw-r--r--Zend/tests/traits/property004.phpt30
-rw-r--r--Zend/tests/traits/property005.phpt40
-rw-r--r--Zend/tests/traits/property006.phpt37
-rw-r--r--Zend/tests/traits/property007.phpt38
-rw-r--r--Zend/tests/traits/property008.phpt62
-rw-r--r--Zend/tests/traits/property009.phpt59
-rw-r--r--Zend/tests/traits/static_001.phpt22
-rw-r--r--Zend/tests/traits/static_002.phpt23
-rw-r--r--Zend/tests/traits/static_003.phpt27
-rw-r--r--Zend/tests/traits/static_004.phpt22
-rw-r--r--Zend/tests/traits/static_forward_static_call.phpt28
-rw-r--r--Zend/tests/traits/static_get_called_class.phpt24
-rw-r--r--Zend/tests/traits/trait_constant_001.phpt36
-rw-r--r--Zend/tests/traits/trait_constant_002.phpt27
-rw-r--r--Zend/tests/unset_cv05.phpt10
-rw-r--r--Zend/tests/unset_cv06.phpt17
-rw-r--r--Zend/tests/unset_cv07.phpt2
-rw-r--r--Zend/tests/unset_cv08.phpt2
-rw-r--r--Zend/zend.c187
-rw-r--r--Zend/zend.h171
-rw-r--r--Zend/zend_API.c598
-rw-r--r--Zend/zend_API.h180
-rw-r--r--Zend/zend_alloc.c206
-rw-r--r--Zend/zend_alloc.h34
-rw-r--r--Zend/zend_builtin_functions.c301
-rw-r--r--Zend/zend_builtin_functions.h2
-rw-r--r--Zend/zend_closures.c241
-rw-r--r--Zend/zend_closures.h3
-rw-r--r--Zend/zend_compile.c3697
-rw-r--r--Zend/zend_compile.h264
-rw-r--r--Zend/zend_constants.c143
-rw-r--r--Zend/zend_constants.h1
-rw-r--r--Zend/zend_dtrace.c108
-rw-r--r--Zend/zend_dtrace.d37
-rw-r--r--Zend/zend_dtrace.h48
-rw-r--r--Zend/zend_errors.h2
-rw-r--r--Zend/zend_exceptions.c28
-rw-r--r--Zend/zend_execute.c856
-rw-r--r--Zend/zend_execute.h103
-rw-r--r--Zend/zend_execute_API.c281
-rw-r--r--Zend/zend_extensions.h2
-rw-r--r--Zend/zend_fast_cache.h141
-rw-r--r--Zend/zend_float.c20
-rw-r--r--Zend/zend_gc.c185
-rw-r--r--Zend/zend_gc.h2
-rw-r--r--Zend/zend_globals.h47
-rw-r--r--Zend/zend_hash.c193
-rw-r--r--Zend/zend_hash.h15
-rw-r--r--Zend/zend_highlight.c23
-rw-r--r--Zend/zend_highlight.h1
-rw-r--r--Zend/zend_indent.c8
-rw-r--r--Zend/zend_ini.c10
-rw-r--r--Zend/zend_ini.h2
-rw-r--r--Zend/zend_ini_scanner.c2
-rw-r--r--Zend/zend_ini_scanner_defs.h2
-rwxr-xr-xZend/zend_interfaces.c2
-rwxr-xr-xZend/zend_interfaces.h2
-rwxr-xr-xZend/zend_iterators.c6
-rw-r--r--Zend/zend_language_parser.y483
-rw-r--r--Zend/zend_language_scanner.c5326
-rw-r--r--Zend/zend_language_scanner.h7
-rw-r--r--Zend/zend_language_scanner.l611
-rw-r--r--Zend/zend_language_scanner_defs.h2
-rw-r--r--Zend/zend_list.c17
-rw-r--r--Zend/zend_list.h14
-rw-r--r--Zend/zend_modules.h4
-rw-r--r--Zend/zend_multibyte.c1194
-rw-r--r--Zend/zend_multibyte.h78
-rw-r--r--Zend/zend_multiply.h12
-rw-r--r--Zend/zend_object_handlers.c543
-rw-r--r--Zend/zend_object_handlers.h33
-rw-r--r--Zend/zend_objects.c92
-rw-r--r--Zend/zend_objects_API.c15
-rw-r--r--Zend/zend_objects_API.h2
-rw-r--r--Zend/zend_opcode.c280
-rw-r--r--Zend/zend_operators.c128
-rw-r--r--Zend/zend_operators.h461
-rw-r--r--Zend/zend_ptr_stack.c5
-rw-r--r--Zend/zend_ptr_stack.h17
-rw-r--r--Zend/zend_signal.c414
-rw-r--r--Zend/zend_signal.h108
-rw-r--r--Zend/zend_stack.c12
-rw-r--r--Zend/zend_stream.c5
-rw-r--r--Zend/zend_stream.h2
-rw-r--r--Zend/zend_string.c233
-rw-r--r--Zend/zend_string.h71
-rw-r--r--Zend/zend_strtod.c67
-rw-r--r--Zend/zend_strtod.h7
-rw-r--r--Zend/zend_types.h2
-rw-r--r--Zend/zend_variables.c62
-rw-r--r--Zend/zend_variables.h16
-rw-r--r--Zend/zend_vm_def.h3284
-rw-r--r--Zend/zend_vm_execute.h27889
-rw-r--r--Zend/zend_vm_execute.skl19
-rw-r--r--Zend/zend_vm_gen.php214
-rw-r--r--Zend/zend_vm_opcodes.h6
-rw-r--r--acconfig.h.in1
-rw-r--r--acinclude.m4159
-rw-r--r--build/build.mk1
-rw-r--r--build/build2.mk8
-rwxr-xr-xbuild/buildcheck.sh25
-rwxr-xr-xbuildconf7
-rw-r--r--configure.in279
-rw-r--r--ext/bz2/bz2.c22
-rw-r--r--ext/calendar/tests/jdtomonthname.phpt4
-rw-r--r--ext/com_dotnet/com_com.c10
-rw-r--r--ext/com_dotnet/com_dotnet.c4
-rw-r--r--ext/com_dotnet/com_handlers.c27
-rw-r--r--ext/com_dotnet/com_misc.c2
-rw-r--r--ext/com_dotnet/com_olechar.c4
-rwxr-xr-xext/com_dotnet/com_persist.c46
-rw-r--r--ext/com_dotnet/com_saproxy.c14
-rw-r--r--ext/com_dotnet/com_typeinfo.c4
-rw-r--r--ext/com_dotnet/com_variant.c6
-rw-r--r--ext/com_dotnet/com_wrapper.c20
-rw-r--r--ext/com_dotnet/php_com_dotnet_internal.h3
-rw-r--r--ext/curl/interface.c85
-rw-r--r--ext/curl/streams.c4
-rw-r--r--ext/curl/tests/bug55767.phpt53
-rw-r--r--ext/curl/tests/curl_setopt_CURLOPT_FOLLOWLOCATION_open_basedir.phpt4
-rw-r--r--ext/curl/tests/curl_setopt_basic001.phpt35
-rw-r--r--ext/date/lib/parse_date.c2
-rw-r--r--ext/date/lib/parse_iso_intervals.c2
-rw-r--r--ext/date/php_date.c103
-rw-r--r--ext/date/php_date.h2
-rw-r--r--ext/date/tests/bug52062.phpt2
-rw-r--r--ext/date/tests/date-lenient-create.phpt149
-rw-r--r--ext/date/tests/date-lenient.phpt146
-rw-r--r--ext/date/tests/date_default_timezone_get-1-win32.phpt4
-rw-r--r--ext/date/tests/date_default_timezone_get-1.phpt4
-rw-r--r--ext/date/tests/date_default_timezone_get-2-win32.phpt20
-rw-r--r--ext/date/tests/date_default_timezone_get-2.phpt2
-rw-r--r--ext/date/tests/date_default_timezone_set-1.phpt4
-rw-r--r--ext/dba/config.m437
-rw-r--r--ext/dba/dba.c32
-rw-r--r--ext/dba/dba_db4.c2
-rw-r--r--ext/dba/dba_tcadb.c221
-rw-r--r--ext/dba/libflatfile/flatfile.c1
-rw-r--r--ext/dba/libinifile/inifile.c1
-rw-r--r--ext/dba/php_tcadb.h (renamed from sapi/cli/php_cli_readline.h)26
-rw-r--r--ext/dba/tests/dba_cdb_make.phpt3
-rw-r--r--ext/dba/tests/dba_tcadb.phpt50
-rw-r--r--ext/dom/attr.c2
-rw-r--r--ext/dom/document.c74
-rw-r--r--ext/dom/dom_iterators.c4
-rw-r--r--ext/dom/domimplementation.c7
-rw-r--r--ext/dom/element.c24
-rw-r--r--ext/dom/namednodemap.c12
-rw-r--r--ext/dom/node.c28
-rw-r--r--ext/dom/nodelist.c4
-rw-r--r--ext/dom/php_dom.c24
-rwxr-xr-xext/dom/tests/DOMAttr_value_basic_001.phpt4
-rw-r--r--ext/dom/tests/DOMAttr_value_basic_002.phpt4
-rwxr-xr-xext/dom/tests/DOMCharacterData_data_error_002.phpt4
-rwxr-xr-xext/dom/tests/DOMCharacterData_length_error_001.phpt4
-rw-r--r--ext/dom/tests/DOMDocument_loadHTML_error1.phpt2
-rw-r--r--ext/dom/tests/DOMDocument_saveHTML_variant2.phpt26
-rw-r--r--ext/dom/tests/bug47430.phpt4
-rw-r--r--ext/dom/text.c2
-rw-r--r--ext/dom/xml_common.h8
-rw-r--r--ext/dom/xpath.c6
-rwxr-xr-xext/enchant/enchant.c21
-rw-r--r--ext/ereg/config.w322
-rw-r--r--ext/ereg/ereg.c76
-rw-r--r--ext/ereg/php_ereg.h16
-rw-r--r--ext/ereg/tests/ereg_replace_variation_001.phpt5
-rw-r--r--ext/ereg/tests/ereg_replace_variation_002.phpt5
-rw-r--r--ext/ereg/tests/ereg_replace_variation_003.phpt5
-rw-r--r--ext/ereg/tests/ereg_variation_001.phpt5
-rw-r--r--ext/ereg/tests/ereg_variation_002.phpt5
-rw-r--r--ext/ereg/tests/eregi_replace_variation_001.phpt5
-rw-r--r--ext/ereg/tests/eregi_replace_variation_002.phpt5
-rw-r--r--ext/ereg/tests/eregi_replace_variation_003.phpt5
-rw-r--r--ext/ereg/tests/eregi_variation_001.phpt5
-rw-r--r--ext/ereg/tests/eregi_variation_002.phpt5
-rw-r--r--ext/ereg/tests/split_variation_001.phpt5
-rw-r--r--ext/ereg/tests/split_variation_002.phpt5
-rw-r--r--ext/ereg/tests/split_variation_003.phpt5
-rw-r--r--ext/ereg/tests/spliti_variation_001.phpt5
-rw-r--r--ext/ereg/tests/spliti_variation_002.phpt5
-rw-r--r--ext/ereg/tests/spliti_variation_003.phpt5
-rw-r--r--ext/ereg/tests/sql_regcase_variation_001.phpt5
-rw-r--r--ext/exif/exif.c156
-rwxr-xr-xext/exif/tests/bug34704.phpt1
-rw-r--r--ext/exif/tests/exif002.phpt1
-rw-r--r--ext/exif/tests/exif006.phpt90
-rw-r--r--ext/fileinfo/fileinfo.c23
-rw-r--r--ext/fileinfo/libmagic/print.c3
-rw-r--r--ext/fileinfo/php_fileinfo.h2
-rw-r--r--ext/fileinfo/tests/finfo_open_001.phpt20
-rw-r--r--ext/fileinfo/tests/finfo_open_error.phpt10
-rw-r--r--ext/filter/filter.c23
-rw-r--r--ext/filter/sanitizing_filters.c15
-rw-r--r--ext/filter/tests/bug39763.phpt19
-rw-r--r--ext/filter/tests/bug42718-2.phpt3
-rw-r--r--ext/filter/tests/bug42718.phpt1
-rw-r--r--ext/ftp/ftp.c12
-rw-r--r--ext/ftp/php_ftp.c32
-rw-r--r--ext/gd/config.m450
-rw-r--r--ext/gd/config.w328
-rw-r--r--ext/gd/gd.c116
-rw-r--r--ext/gd/gd_ctx.c100
-rw-r--r--ext/gd/libgd/gd.h5
-rw-r--r--ext/gd/libgd/gd_io.h1
-rw-r--r--ext/gd/libgd/gd_webp.c201
-rw-r--r--ext/gd/libgd/webpimg.c900
-rw-r--r--ext/gd/libgd/webpimg.h181
-rw-r--r--ext/gd/php_gd.h15
-rw-r--r--ext/gmp/gmp.c8
-rw-r--r--ext/hash/config.m46
-rw-r--r--ext/hash/config.w324
-rw-r--r--ext/hash/hash.c23
-rw-r--r--ext/hash/hash_adler32.c11
-rw-r--r--ext/hash/hash_fnv.c229
-rw-r--r--ext/hash/hash_joaat.c99
-rw-r--r--ext/hash/hash_md.c4
-rw-r--r--ext/hash/hash_salsa.c224
-rw-r--r--ext/hash/hash_sha.c4
-rw-r--r--ext/hash/hash_tiger.c80
-rw-r--r--ext/hash/php_hash.h5
-rw-r--r--ext/hash/php_hash_fnv.h79
-rw-r--r--ext/hash/php_hash_joaat.h (renamed from main/safe_mode.h)38
-rw-r--r--ext/hash/tests/fnv132.phpt202
-rw-r--r--ext/hash/tests/fnv164.phpt202
-rw-r--r--ext/hash/tests/hash_algos.phpt92
-rw-r--r--ext/hash/tests/hash_copy_001.phpt156
-rw-r--r--ext/hash/tests/hash_file_basic1.phpt2
-rw-r--r--ext/hash/tests/hash_hmac_basic.phpt2
-rw-r--r--ext/hash/tests/hash_hmac_file_basic.phpt2
-rw-r--r--ext/hash/tests/joaat.phpt34
-rw-r--r--ext/hash/tests/mhash_001.phpt4
-rw-r--r--ext/hash/tests/mhash_003.phpt2
-rw-r--r--ext/hash/tests/mhash_004.phpt2
-rw-r--r--ext/hash/tests/tiger.phpt11
-rw-r--r--ext/iconv/iconv.c265
-rw-r--r--ext/iconv/tests/bug52211.phpt17
-rw-r--r--ext/iconv/tests/translit-utf8.phpt1
-rw-r--r--ext/imap/php_imap.c22
-rw-r--r--ext/interbase/ibase_query.c9
-rw-r--r--ext/interbase/interbase.rc81
-rwxr-xr-xext/intl/collator/collator_class.c2
-rwxr-xr-xext/intl/common/common_error.c5
-rwxr-xr-xext/intl/config.m418
-rwxr-xr-xext/intl/config.w3216
-rwxr-xr-xext/intl/dateformat/dateformat_class.c2
-rwxr-xr-xext/intl/formatter/formatter_class.c2
-rwxr-xr-xext/intl/grapheme/grapheme_string.c14
-rw-r--r--ext/intl/idn/idn.c238
-rwxr-xr-xext/intl/locale/locale_class.c2
-rwxr-xr-xext/intl/msgformat/msgformat_class.c2
-rwxr-xr-xext/intl/normalizer/normalizer_class.c2
-rwxr-xr-xext/intl/php_intl.c66
-rw-r--r--ext/intl/resourcebundle/resourcebundle.c2
-rw-r--r--ext/intl/resourcebundle/resourcebundle_class.c24
-rwxr-xr-xext/intl/spoofchecker/spoofchecker.c60
-rwxr-xr-xext/intl/spoofchecker/spoofchecker.h24
-rwxr-xr-xext/intl/spoofchecker/spoofchecker_class.c209
-rwxr-xr-xext/intl/spoofchecker/spoofchecker_class.h70
-rwxr-xr-xext/intl/spoofchecker/spoofchecker_create.c59
-rwxr-xr-xext/intl/spoofchecker/spoofchecker_create.h24
-rwxr-xr-xext/intl/spoofchecker/spoofchecker_main.c142
-rwxr-xr-xext/intl/spoofchecker/spoofchecker_main.h27
-rw-r--r--ext/intl/tests/bug55562.phpt13
-rw-r--r--ext/intl/tests/bug59597_64.phpt2
-rw-r--r--[-rwxr-xr-x]ext/intl/tests/dateformat_clone.phpt0
-rw-r--r--[-rwxr-xr-x]ext/intl/tests/formatter_clone.phpt0
-rw-r--r--ext/intl/tests/idn_uts46_basic.phpt53
-rw-r--r--ext/intl/tests/idn_uts46_errors.phpt89
-rwxr-xr-xext/intl/tests/locale_accept.phpt2
-rw-r--r--[-rwxr-xr-x]ext/intl/tests/msgfmt_clone.phpt0
-rw-r--r--ext/intl/tests/resourcebundle_null_mandatory_args.phpt26
-rwxr-xr-xext/intl/tests/spoofchecker_001.phpt23
-rwxr-xr-xext/intl/tests/spoofchecker_002.phpt20
-rwxr-xr-xext/intl/tests/spoofchecker_003.phpt25
-rwxr-xr-xext/intl/tests/spoofchecker_004.phpt28
-rw-r--r--ext/intl/tests/transliterator_clone.phpt21
-rw-r--r--ext/intl/tests/transliterator_create_basic.phpt20
-rw-r--r--ext/intl/tests/transliterator_create_error.phpt21
-rw-r--r--ext/intl/tests/transliterator_create_from_rule_basic.phpt28
-rw-r--r--ext/intl/tests/transliterator_create_from_rule_error.phpt53
-rw-r--r--ext/intl/tests/transliterator_create_inverse_basic.phpt32
-rw-r--r--ext/intl/tests/transliterator_create_inverse_error.phpt21
-rw-r--r--ext/intl/tests/transliterator_get_error_code_basic.phpt25
-rw-r--r--ext/intl/tests/transliterator_get_error_code_error.phpt24
-rw-r--r--ext/intl/tests/transliterator_get_error_message_basic.phpt25
-rw-r--r--ext/intl/tests/transliterator_get_error_message_error.phpt24
-rw-r--r--ext/intl/tests/transliterator_list_ids_basic.phpt16
-rw-r--r--ext/intl/tests/transliterator_list_ids_error.phpt18
-rw-r--r--ext/intl/tests/transliterator_property_id.phpt21
-rw-r--r--ext/intl/tests/transliterator_transliterate_basic.phpt20
-rw-r--r--ext/intl/tests/transliterator_transliterate_error.phpt60
-rw-r--r--ext/intl/tests/transliterator_transliterate_variant1.phpt37
-rw-r--r--ext/intl/transliterator/transliterator.c138
-rw-r--r--ext/intl/transliterator/transliterator.h29
-rw-r--r--ext/intl/transliterator/transliterator_class.c434
-rw-r--r--ext/intl/transliterator/transliterator_class.h65
-rw-r--r--ext/intl/transliterator/transliterator_methods.c542
-rw-r--r--ext/intl/transliterator/transliterator_methods.h38
-rw-r--r--ext/json/JSON_parser.c29
-rw-r--r--ext/json/JSON_parser.h9
-rw-r--r--ext/json/config.w321
-rw-r--r--ext/json/json.c186
-rw-r--r--ext/json/php_json.h25
-rw-r--r--ext/json/tests/008.phpt17
-rw-r--r--ext/json/tests/bug43941.phpt21
-rw-r--r--ext/json/tests/bug53946.phpt16
-rw-r--r--ext/json/tests/bug54058.phpt7
-rw-r--r--ext/json/tests/bug61537.phpt30
-rw-r--r--ext/json/tests/bug61978.phpt47
-rw-r--r--ext/json/tests/json_decode_error.phpt4
-rw-r--r--ext/json/tests/json_encode_basic.phpt2
-rw-r--r--ext/json/tests/json_encode_numeric.phpt26
-rw-r--r--ext/json/tests/json_encode_pretty_print.phpt40
-rw-r--r--ext/json/tests/json_encode_unescaped_slashes.phpt12
-rw-r--r--ext/json/tests/serialize.phpt80
-rw-r--r--ext/json/utf8_to_utf16.c15
-rw-r--r--ext/json/utf8_to_utf16.h2
-rw-r--r--ext/ldap/config.w3211
-rw-r--r--ext/ldap/ldap.c208
-rw-r--r--ext/ldap/tests/ldap_control_paged_results_variation1.phpt56
-rw-r--r--ext/ldap/tests/ldap_control_paged_results_variation2.phpt72
-rw-r--r--ext/ldap/tests/ldap_control_paged_results_variation3.phpt100
-rw-r--r--ext/libxml/libxml.c262
-rw-r--r--ext/libxml/php_libxml.h4
-rw-r--r--ext/libxml/tests/libxml_set_external_entity_loader_basic.phpt48
-rw-r--r--ext/libxml/tests/libxml_set_external_entity_loader_error1.phpt39
-rw-r--r--ext/libxml/tests/libxml_set_external_entity_loader_variation1.phpt72
-rw-r--r--ext/libxml/tests/libxml_set_external_entity_loader_variation2.phpt45
-rw-r--r--ext/mbstring/config.m48
-rw-r--r--ext/mbstring/config.w3210
-rw-r--r--ext/mbstring/libmbfl/NEWS30
-rw-r--r--ext/mbstring/libmbfl/filters/Makefile.am30
-rw-r--r--ext/mbstring/libmbfl/filters/emoji2uni.h1227
-rw-r--r--ext/mbstring/libmbfl/filters/mbfilter_ascii.c2
-rw-r--r--ext/mbstring/libmbfl/filters/mbfilter_base64.c2
-rw-r--r--ext/mbstring/libmbfl/filters/mbfilter_big5.c133
-rw-r--r--ext/mbstring/libmbfl/filters/mbfilter_big5.h5
-rw-r--r--ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c23
-rw-r--r--ext/mbstring/libmbfl/filters/mbfilter_cp850.c2
-rw-r--r--ext/mbstring/libmbfl/filters/mbfilter_cp866.c2
-rw-r--r--ext/mbstring/libmbfl/filters/mbfilter_cp932.c2
-rw-r--r--ext/mbstring/libmbfl/filters/mbfilter_cp936.c146
-rw-r--r--ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c10
-rw-r--r--ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c6
-rw-r--r--ext/mbstring/libmbfl/filters/mbfilter_euc_jp_2004.c78
-rw-r--r--ext/mbstring/libmbfl/filters/mbfilter_euc_jp_2004.h43
-rw-r--r--ext/mbstring/libmbfl/filters/mbfilter_gb18030.c473
-rw-r--r--ext/mbstring/libmbfl/filters/mbfilter_gb18030.h43
-rw-r--r--ext/mbstring/libmbfl/filters/mbfilter_htmlent.c2
-rw-r--r--ext/mbstring/libmbfl/filters/mbfilter_hz.c12
-rw-r--r--ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c6
-rw-r--r--ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c2
-rw-r--r--ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_2004.c168
-rw-r--r--ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_2004.h44
-rw-r--r--ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c433
-rw-r--r--ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.h43
-rw-r--r--ext/mbstring/libmbfl/filters/mbfilter_jis.c4
-rw-r--r--ext/mbstring/libmbfl/filters/mbfilter_qprint.c2
-rw-r--r--ext/mbstring/libmbfl/filters/mbfilter_sjis.c11
-rw-r--r--ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c725
-rw-r--r--ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.h49
-rw-r--r--ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c700
-rw-r--r--ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.h44
-rw-r--r--ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c927
-rw-r--r--ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.h70
-rw-r--r--ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c4
-rw-r--r--ext/mbstring/libmbfl/filters/mbfilter_sjis_open.h1
-rw-r--r--ext/mbstring/libmbfl/filters/mbfilter_uhc.c1
-rw-r--r--ext/mbstring/libmbfl/filters/mbfilter_utf32.c11
-rw-r--r--ext/mbstring/libmbfl/filters/mbfilter_utf7.c2
-rw-r--r--ext/mbstring/libmbfl/filters/mbfilter_utf8.c219
-rw-r--r--ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c362
-rw-r--r--ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.h55
-rwxr-xr-xext/mbstring/libmbfl/filters/mk_emoji_tbl.pl425
-rw-r--r--ext/mbstring/libmbfl/filters/sjis_mac2uni.h349
-rw-r--r--ext/mbstring/libmbfl/filters/unicode_table_cp932_ext.h35
-rw-r--r--ext/mbstring/libmbfl/filters/unicode_table_cp936.h283
-rw-r--r--ext/mbstring/libmbfl/filters/unicode_table_gb18030.h233
-rw-r--r--ext/mbstring/libmbfl/filters/unicode_table_jis.h59
-rw-r--r--ext/mbstring/libmbfl/filters/unicode_table_jis2004.h5067
-rw-r--r--ext/mbstring/libmbfl/filters/unicode_table_uhc.h90
-rw-r--r--ext/mbstring/libmbfl/mbfl/eaw_table.h32
-rw-r--r--ext/mbstring/libmbfl/mbfl/mbfilter.c364
-rw-r--r--ext/mbstring/libmbfl/mbfl/mbfilter.h16
-rw-r--r--ext/mbstring/libmbfl/mbfl/mbfl_consts.h5
-rw-r--r--ext/mbstring/libmbfl/mbfl/mbfl_convert.c42
-rw-r--r--ext/mbstring/libmbfl/mbfl/mbfl_encoding.c22
-rw-r--r--ext/mbstring/libmbfl/mbfl/mbfl_encoding.h14
-rw-r--r--ext/mbstring/libmbfl/mbfl/mbfl_ident.c48
-rw-r--r--ext/mbstring/libmbfl/mbfl/mbfl_ident.h2
-rw-r--r--ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c4
-rw-r--r--ext/mbstring/libmbfl/mbfl/mk_eaw_tbl.awk7
-rw-r--r--ext/mbstring/libmbfl/tests/emoji.c119
-rw-r--r--ext/mbstring/mb_gpc.c70
-rw-r--r--ext/mbstring/mb_gpc.h9
-rw-r--r--ext/mbstring/mbstring.c1419
-rw-r--r--ext/mbstring/mbstring.h46
-rw-r--r--ext/mbstring/php_mbregex.c123
-rw-r--r--ext/mbstring/php_mbregex.h2
-rw-r--r--ext/mbstring/tests/bug20087.phpt2
-rw-r--r--ext/mbstring/tests/bug28220.phpt2
-rw-r--r--ext/mbstring/tests/bug40685.phpt7
-rw-r--r--ext/mbstring/tests/bug43301.phpt2
-rw-r--r--ext/mbstring/tests/bug49536.phpt2
-rw-r--r--ext/mbstring/tests/bug60306.phpt11
-rw-r--r--ext/mbstring/tests/htmlent.phpt1
-rw-r--r--ext/mbstring/tests/illformed_utf_sequences.phpt241
-rw-r--r--ext/mbstring/tests/mb_encoding_aliases.phpt18
-rw-r--r--ext/mbstring/tests/mb_ereg_replace_callback.phpt15
-rw-r--r--ext/mbstring/tests/mb_internal_encoding_variation2.phpt4
-rw-r--r--ext/mbstring/tests/mb_parse_str.phpt3
-rw-r--r--ext/mbstring/tests/mb_parse_str02.phpt3
-rw-r--r--ext/mbstring/tests/mb_str_functions_opt-parameter.phpt32
-rw-r--r--ext/mbstring/tests/pictogram1.phpt172
-rw-r--r--ext/mbstring/tests/zend_multibyte-10.phpt1
-rw-r--r--ext/mcrypt/mcrypt.c2
-rw-r--r--ext/mcrypt/tests/blowfish.phpt10
-rw-r--r--ext/mssql/php_mssql.c20
-rw-r--r--ext/mysql/config.m428
-rw-r--r--ext/mysql/php_mysql.c52
-rw-r--r--ext/mysql/tests/bug55473.phpt10
-rwxr-xr-xext/mysql/tests/mysql_pconn_kill.phpt2
-rw-r--r--ext/mysql/tests/mysql_phpinfo.phpt2
-rw-r--r--ext/mysql/tests/mysql_query_load_data_openbasedir.phpt10
-rw-r--r--ext/mysqli/config.m416
-rw-r--r--ext/mysqli/config.w321
-rw-r--r--ext/mysqli/mysqli.c215
-rw-r--r--ext/mysqli/mysqli_api.c27
-rw-r--r--ext/mysqli/mysqli_driver.c16
-rw-r--r--ext/mysqli/mysqli_fe.c13
-rw-r--r--ext/mysqli/mysqli_fe.h4
-rw-r--r--ext/mysqli/mysqli_libmysql.h26
-rw-r--r--ext/mysqli/mysqli_mysqlnd.h4
-rw-r--r--ext/mysqli/mysqli_nonapi.c112
-rw-r--r--ext/mysqli/mysqli_priv.h24
-rw-r--r--ext/mysqli/mysqli_prop.c177
-rw-r--r--ext/mysqli/mysqli_report.h2
-rw-r--r--ext/mysqli/mysqli_result_iterator.c182
-rw-r--r--ext/mysqli/mysqli_warning.c49
-rw-r--r--ext/mysqli/php_mysqli_structs.h50
-rw-r--r--ext/mysqli/tests/057.phpt3
-rw-r--r--ext/mysqli/tests/bug34810.phpt11
-rw-r--r--ext/mysqli/tests/bug55582.phpt2
-rw-r--r--ext/mysqli/tests/mysqli_auth_pam.phpt98
-rw-r--r--ext/mysqli/tests/mysqli_class_mysqli_properties_no_conn.phpt49
-rw-r--r--ext/mysqli/tests/mysqli_class_mysqli_reflection.phpt25
-rw-r--r--ext/mysqli/tests/mysqli_class_mysqli_result_reflection.phpt18
-rw-r--r--ext/mysqli/tests/mysqli_class_mysqli_stmt_interface.phpt8
-rw-r--r--ext/mysqli/tests/mysqli_fetch_array_large.phpt4
-rw-r--r--ext/mysqli/tests/mysqli_fetch_object.phpt29
-rw-r--r--ext/mysqli/tests/mysqli_fetch_object_oo.phpt30
-rw-r--r--ext/mysqli/tests/mysqli_free_result.phpt3
-rw-r--r--ext/mysqli/tests/mysqli_get_cache_stats_off.phpt56
-rw-r--r--ext/mysqli/tests/mysqli_kill.phpt26
-rw-r--r--ext/mysqli/tests/mysqli_magic_quotes.phpt128
-rw-r--r--ext/mysqli/tests/mysqli_options_openbasedir.phpt3
-rw-r--r--ext/mysqli/tests/mysqli_phpinfo.phpt2
-rw-r--r--ext/mysqli/tests/mysqli_query_iterators.phpt201
-rw-r--r--ext/mysqli/tests/mysqli_real_connect.phpt48
-rw-r--r--ext/mysqli/tests/mysqli_real_connect_pconn.phpt2
-rw-r--r--ext/mysqlnd/CREDITS2
-rw-r--r--ext/mysqlnd/config.w329
-rw-r--r--ext/mysqlnd/config9.m47
-rw-r--r--ext/mysqlnd/mysqlnd.c2143
-rw-r--r--ext/mysqlnd/mysqlnd.h150
-rw-r--r--ext/mysqlnd/mysqlnd_alloc.c726
-rw-r--r--ext/mysqlnd/mysqlnd_alloc.h100
-rw-r--r--ext/mysqlnd/mysqlnd_auth.c477
-rw-r--r--ext/mysqlnd/mysqlnd_bt.c484
-rw-r--r--ext/mysqlnd/mysqlnd_charset.c45
-rw-r--r--ext/mysqlnd/mysqlnd_charset.h14
-rw-r--r--ext/mysqlnd/mysqlnd_debug.c1117
-rw-r--r--ext/mysqlnd/mysqlnd_debug.h75
-rw-r--r--ext/mysqlnd/mysqlnd_driver.c304
-rw-r--r--ext/mysqlnd/mysqlnd_enum_n_def.h15
-rw-r--r--ext/mysqlnd/mysqlnd_ext_plugin.c226
-rw-r--r--ext/mysqlnd/mysqlnd_ext_plugin.h72
-rw-r--r--ext/mysqlnd/mysqlnd_loaddata.c77
-rw-r--r--ext/mysqlnd/mysqlnd_net.c419
-rw-r--r--ext/mysqlnd/mysqlnd_net.h10
-rw-r--r--ext/mysqlnd/mysqlnd_plugin.c209
-rw-r--r--ext/mysqlnd/mysqlnd_priv.h99
-rw-r--r--ext/mysqlnd/mysqlnd_ps.c442
-rw-r--r--ext/mysqlnd/mysqlnd_ps_codec.c43
-rw-r--r--ext/mysqlnd/mysqlnd_result.c221
-rw-r--r--ext/mysqlnd/mysqlnd_result.h7
-rw-r--r--ext/mysqlnd/mysqlnd_result_meta.c10
-rw-r--r--ext/mysqlnd/mysqlnd_result_meta.h4
-rw-r--r--ext/mysqlnd/mysqlnd_reverse_api.c100
-rw-r--r--ext/mysqlnd/mysqlnd_reverse_api.h50
-rw-r--r--ext/mysqlnd/mysqlnd_statistics.c323
-rw-r--r--ext/mysqlnd/mysqlnd_statistics.h6
-rw-r--r--ext/mysqlnd/mysqlnd_structs.h491
-rw-r--r--ext/mysqlnd/mysqlnd_wireprotocol.c612
-rw-r--r--ext/mysqlnd/mysqlnd_wireprotocol.h82
-rw-r--r--ext/mysqlnd/php_mysqlnd.c118
-rw-r--r--ext/mysqlnd/php_mysqlnd.h6
-rw-r--r--ext/oci8/tests/null_byte_1.phpt20
-rw-r--r--ext/oci8/tests/oci8safemode.phpt23
-rw-r--r--ext/odbc/birdstep.c6
-rw-r--r--ext/odbc/php_odbc.c12
-rw-r--r--ext/openssl/openssl.c483
-rw-r--r--ext/openssl/php_openssl.h3
-rw-r--r--ext/openssl/tests/004.phpt2
-rw-r--r--ext/openssl/tests/011.phpt15
-rw-r--r--ext/openssl/tests/bug54060.phpt2
-rw-r--r--ext/openssl/tests/bug54061.phpt4
-rw-r--r--ext/openssl/tests/bug55646.phpt38
-rw-r--r--ext/openssl/tests/openssl_decrypt_error.phpt2
-rw-r--r--ext/openssl/xp_ssl.c10
-rwxr-xr-xext/pcntl/pcntl.c8
-rw-r--r--ext/pcntl/php_signal.c15
-rw-r--r--ext/pcntl/tests/pcntl_signal.phpt6
-rw-r--r--ext/pcre/php_pcre.c12
-rw-r--r--ext/pcre/tests/002.phpt2
-rw-r--r--ext/pcre/tests/bug33200.phpt13
-rw-r--r--ext/pcre/tests/preg_match_all_basic.phpt12
-rw-r--r--ext/pcre/tests/preg_match_all_error.phpt7
-rwxr-xr-xext/pdo/pdo.c2
-rwxr-xr-xext/pdo/pdo_dbh.c80
-rwxr-xr-xext/pdo/pdo_stmt.c121
-rwxr-xr-xext/pdo/php_pdo_driver.h11
-rw-r--r--ext/pdo/tests/bug61292.phpt36
-rw-r--r--ext/pdo/tests/pdo_test.inc3
-rw-r--r--ext/pdo_dblib/config.m410
-rw-r--r--ext/pdo_dblib/db.php31
-rw-r--r--ext/pdo_dblib/dblib_driver.c94
-rw-r--r--ext/pdo_dblib/dblib_stmt.c379
-rw-r--r--ext/pdo_dblib/php_pdo_dblib_int.h21
-rw-r--r--ext/pdo_dblib/tests/bug_38955.phpt57
-rw-r--r--ext/pdo_dblib/tests/bug_45876.phpt35
-rw-r--r--ext/pdo_dblib/tests/bug_47588.phpt45
-rw-r--r--ext/pdo_dblib/tests/bug_50755.phpt29
-rw-r--r--ext/pdo_dblib/tests/config.inc26
-rw-r--r--ext/pdo_firebird/EXPERIMENTAL0
-rw-r--r--ext/pdo_firebird/config.m42
-rwxr-xr-xext/pdo_mysql/config.m458
-rwxr-xr-xext/pdo_mysql/mysql_driver.c47
-rwxr-xr-xext/pdo_mysql/mysql_statement.c43
-rwxr-xr-xext/pdo_mysql/pdo_mysql.c29
-rwxr-xr-xext/pdo_mysql/php_pdo_mysql_int.h2
-rw-r--r--ext/pdo_mysql/tests/common.phpt2
-rw-r--r--ext/pdo_mysql/tests/pdo_mysql___construct.phpt2
-rw-r--r--ext/pdo_mysql/tests/pdo_mysql_exec_load_data.phpt4
-rwxr-xr-xext/pdo_oci/config.m410
-rwxr-xr-xext/pdo_oci/oci_driver.c4
-rwxr-xr-xext/pdo_odbc/config.m410
-rwxr-xr-xext/pdo_odbc/pdo_odbc.c4
-rw-r--r--ext/pdo_pgsql/config.m410
-rw-r--r--ext/pdo_pgsql/pgsql_driver.c14
-rw-r--r--ext/pdo_pgsql/tests/is_in_transaction.phpt66
-rw-r--r--ext/pdo_sqlite/config.m412
-rw-r--r--ext/pdo_sqlite/sqlite_driver.c9
-rw-r--r--ext/pdo_sqlite/tests/bug60104.phpt21
-rw-r--r--ext/pgsql/config.m41
-rw-r--r--ext/pgsql/pgsql.c198
-rw-r--r--ext/pgsql/php_pgsql.h2
-rw-r--r--ext/pgsql/tests/08escape.phpt37
-rw-r--r--ext/phar/func_interceptors.c30
-rw-r--r--ext/phar/phar.c54
-rw-r--r--ext/phar/phar_internal.h6
-rw-r--r--ext/phar/phar_object.c22
-rw-r--r--ext/phar/phar_path_check.c2
-rw-r--r--ext/phar/stream.c2
-rw-r--r--ext/phar/tests/fatal_error_webphar.phpt2
-rw-r--r--ext/phar/tests/fgc_edgecases.phpt26
-rw-r--r--ext/phar/tests/files/stuboflength1041.phar.inc21
-rw-r--r--ext/phar/tests/fopen_edgecases2.phpt2
-rw-r--r--ext/phar/tests/opendir_edgecases.phpt4
-rw-r--r--ext/phar/tests/phar_gobyebye.phpt2
-rw-r--r--ext/phar/tests/phar_mount.phpt2
-rw-r--r--ext/phar/tests/phpinfo_003.phpt2
-rw-r--r--ext/phar/tests/readfile_edgecases.phpt4
-rw-r--r--ext/phar/tests/zip/notphar.phpt1
-rw-r--r--ext/phar/util.c9
-rw-r--r--ext/posix/posix.c27
-rw-r--r--ext/posix/tests/posix_access.phpt5
-rw-r--r--ext/posix/tests/posix_access_error_modes.phpt7
-rw-r--r--ext/posix/tests/posix_access_error_wrongparams.phpt5
-rw-r--r--ext/posix/tests/posix_access_safemode.phpt5
-rw-r--r--ext/posix/tests/posix_getgrgid_variation.phpt10
-rw-r--r--ext/posix/tests/posix_getpgid_variation.phpt10
-rw-r--r--ext/posix/tests/posix_getpwuid_variation.phpt10
-rw-r--r--ext/posix/tests/posix_kill_variation1.phpt10
-rw-r--r--ext/posix/tests/posix_kill_variation2.phpt10
-rw-r--r--ext/posix/tests/posix_mkfifo_safemode.phpt5
-rw-r--r--ext/posix/tests/posix_setgid_error.phpt1
-rw-r--r--ext/posix/tests/posix_strerror_variation1.phpt10
-rw-r--r--ext/posix/tests/posix_times_basic.phpt10
-rw-r--r--ext/pspell/pspell.c40
-rw-r--r--ext/readline/config.m423
-rw-r--r--ext/readline/readline.c30
-rw-r--r--ext/readline/readline_cli.c (renamed from sapi/cli/php_cli_readline.c)345
-rw-r--r--ext/readline/readline_cli.h43
-rw-r--r--ext/reflection/php_reflection.c1156
-rw-r--r--ext/reflection/php_reflection.h1
-rw-r--r--ext/reflection/tests/ReflectionClass_getStaticPropertyValue_001.phpt2
-rw-r--r--ext/reflection/tests/ReflectionClass_getStaticPropertyValue_001_2_4.phpt61
-rw-r--r--ext/reflection/tests/ReflectionClass_isCloneable_001.phpt71
-rw-r--r--ext/reflection/tests/ReflectionClass_isCloneable_002.phpt25
-rw-r--r--ext/reflection/tests/ReflectionClass_newInstanceArgs_002.phpt2
-rw-r--r--ext/reflection/tests/ReflectionClass_newInstanceWithoutConstructor.phpt33
-rw-r--r--ext/reflection/tests/ReflectionClass_setStaticPropertyValue_001.phpt2
-rw-r--r--ext/reflection/tests/ReflectionClass_setStaticPropertyValue_001_2_4.phpt61
-rw-r--r--ext/reflection/tests/ReflectionClass_toString_001.phpt38
-rw-r--r--ext/reflection/tests/ReflectionExtension_getClasses_basic.phpt7
-rw-r--r--ext/reflection/tests/ReflectionExtension_isPersistant.phpt11
-rw-r--r--ext/reflection/tests/ReflectionExtension_isTemporary.phpt11
-rw-r--r--ext/reflection/tests/ReflectionFunction_getClosureScopeClass.phpt31
-rwxr-xr-xext/reflection/tests/ReflectionFunction_getClosureThis.phpt17
-rw-r--r--ext/reflection/tests/ReflectionFunction_getClosure_basic.phpt37
-rw-r--r--ext/reflection/tests/ReflectionFunction_getClosure_error.phpt27
-rwxr-xr-xext/reflection/tests/ReflectionMethod_getClosureThis.phpt53
-rw-r--r--ext/reflection/tests/ReflectionMethod_getClosure_basic.phpt55
-rw-r--r--ext/reflection/tests/ReflectionMethod_getClosure_error.phpt73
-rw-r--r--ext/reflection/tests/ReflectionMethod_getModifiers_basic.phpt82
-rw-r--r--ext/reflection/tests/ReflectionMethod_invokeArgs_error2.phpt2
-rw-r--r--ext/reflection/tests/ReflectionParameter_canBePassedByValue.phpt84
-rw-r--r--ext/reflection/tests/bug40431.phpt4
-rw-r--r--ext/reflection/tests/bug47254.phpt1
-rw-r--r--ext/reflection/tests/bug60357.phpt10
-rwxr-xr-xext/reflection/tests/closures_003_v1.phpt25
-rw-r--r--ext/reflection/tests/closures_004.phpt43
-rw-r--r--ext/reflection/tests/traits001.phpt70
-rw-r--r--ext/reflection/tests/traits002.phpt54
-rw-r--r--ext/reflection/tests/traits003.phpt30
-rw-r--r--ext/reflection/tests/traits004.phpt58
-rw-r--r--ext/reflection/tests/traits005.phpt41
-rw-r--r--ext/session/config.m42
-rw-r--r--ext/session/config.w322
-rw-r--r--ext/session/mod_files.c18
-rw-r--r--ext/session/mod_user.c29
-rw-r--r--ext/session/mod_user_class.c144
-rw-r--r--ext/session/package.xml1
-rw-r--r--ext/session/php_session.h46
-rw-r--r--ext/session/session.c849
-rw-r--r--ext/session/tests/001.phpt14
-rw-r--r--ext/session/tests/003.phpt10
-rw-r--r--ext/session/tests/004.phpt16
-rw-r--r--ext/session/tests/005.phpt41
-rw-r--r--ext/session/tests/006.phpt18
-rw-r--r--ext/session/tests/007.phpt67
-rw-r--r--ext/session/tests/008-php4.2.3.phpt78
-rw-r--r--ext/session/tests/009.phpt25
-rw-r--r--ext/session/tests/010.phpt3
-rw-r--r--ext/session/tests/011.phpt3
-rw-r--r--ext/session/tests/012.phpt10
-rw-r--r--ext/session/tests/013.phpt4
-rw-r--r--ext/session/tests/014.phpt4
-rw-r--r--ext/session/tests/019.phpt16
-rw-r--r--ext/session/tests/bug24592.phpt1
-rw-r--r--ext/session/tests/bug26862.phpt1
-rw-r--r--ext/session/tests/bug55688.phpt15
-rw-r--r--ext/session/tests/bug61728.phpt39
-rw-r--r--ext/session/tests/rfc1867.phpt129
-rw-r--r--ext/session/tests/rfc1867_cleanup.phpt83
-rw-r--r--ext/session/tests/rfc1867_disabled.phpt76
-rw-r--r--ext/session/tests/rfc1867_disabled_2.phpt76
-rw-r--r--ext/session/tests/rfc1867_inter.phpt133
-rw-r--r--ext/session/tests/rfc1867_invalid_settings-win.phpt19
-rw-r--r--ext/session/tests/rfc1867_invalid_settings.phpt20
-rw-r--r--ext/session/tests/rfc1867_invalid_settings_2-win.phpt19
-rw-r--r--ext/session/tests/rfc1867_invalid_settings_2.phpt20
-rw-r--r--ext/session/tests/rfc1867_no_name.phpt76
-rw-r--r--ext/session/tests/rfc1867_sid_cookie.phpt128
-rw-r--r--ext/session/tests/rfc1867_sid_get.phpt126
-rw-r--r--ext/session/tests/rfc1867_sid_get_2.phpt128
-rw-r--r--ext/session/tests/rfc1867_sid_invalid.phpt79
-rw-r--r--ext/session/tests/rfc1867_sid_only_cookie.phpt128
-rw-r--r--ext/session/tests/rfc1867_sid_only_cookie_2.phpt80
-rw-r--r--ext/session/tests/rfc1867_sid_post.phpt124
-rw-r--r--ext/session/tests/session_encode_basic.phpt4
-rw-r--r--ext/session/tests/session_id_variation2.phpt2
-rw-r--r--ext/session/tests/session_is_registered_basic.phpt318
-rw-r--r--ext/session/tests/session_is_registered_variation1.phpt109
-rw-r--r--ext/session/tests/session_is_registered_variation2.phpt75
-rw-r--r--ext/session/tests/session_is_registered_variation3.phpt72
-rw-r--r--ext/session/tests/session_register_basic.phpt364
-rw-r--r--ext/session/tests/session_register_variation1.phpt159
-rw-r--r--ext/session/tests/session_register_variation2.phpt43
-rw-r--r--ext/session/tests/session_register_variation3.phpt46
-rw-r--r--ext/session/tests/session_register_variation4.phpt47
-rw-r--r--ext/session/tests/session_save_path_variation5.phpt3
-rw-r--r--ext/session/tests/session_set_save_handler_class_001.phpt68
-rw-r--r--ext/session/tests/session_set_save_handler_class_002.phpt113
-rw-r--r--ext/session/tests/session_set_save_handler_class_003.phpt78
-rw-r--r--ext/session/tests/session_set_save_handler_class_004.phpt48
-rw-r--r--ext/session/tests/session_set_save_handler_class_005.phpt54
-rw-r--r--ext/session/tests/session_set_save_handler_class_006.phpt54
-rw-r--r--ext/session/tests/session_set_save_handler_class_007.phpt74
-rw-r--r--ext/session/tests/session_set_save_handler_class_008.phpt65
-rw-r--r--ext/session/tests/session_set_save_handler_class_009.phpt62
-rw-r--r--ext/session/tests/session_set_save_handler_class_010.phpt63
-rw-r--r--ext/session/tests/session_set_save_handler_class_011.phpt66
-rw-r--r--ext/session/tests/session_set_save_handler_class_012.phpt59
-rw-r--r--ext/session/tests/session_set_save_handler_class_013.phpt56
-rw-r--r--ext/session/tests/session_set_save_handler_class_014.phpt30
-rw-r--r--ext/session/tests/session_set_save_handler_class_015.phpt24
-rw-r--r--ext/session/tests/session_set_save_handler_iface_001.phpt113
-rw-r--r--ext/session/tests/session_set_save_handler_iface_002.phpt90
-rw-r--r--ext/session/tests/session_status.phpt24
-rw-r--r--ext/session/tests/session_status_disabled.phpt17
-rw-r--r--ext/session/tests/session_unregister_basic.phpt225
-rw-r--r--ext/session/tests/session_unregister_variation1.phpt159
-rw-r--r--ext/session/tests/session_unregister_variation2.phpt47
-rw-r--r--ext/session/tests/session_unregister_variation3.phpt48
-rw-r--r--ext/session/tests/sessionhandler_open_001.phpt19
-rw-r--r--ext/shmop/shmop.c2
-rw-r--r--ext/simplexml/simplexml.c50
-rwxr-xr-xext/simplexml/tests/034.phpt6
-rw-r--r--ext/simplexml/tests/bug51615.phpt4
-rw-r--r--ext/snmp/CREDITS2
-rw-r--r--ext/snmp/config.m4174
-rw-r--r--ext/snmp/config.w323
-rw-r--r--ext/snmp/php_snmp.h54
-rw-r--r--ext/snmp/snmp.c2590
-rw-r--r--ext/snmp/tests/README46
-rw-r--r--ext/snmp/tests/bug60749.phpt28
-rw-r--r--ext/snmp/tests/clean.inc4
-rw-r--r--ext/snmp/tests/generic_timeout_error.phpt27
-rw-r--r--ext/snmp/tests/ipv6.phpt25
-rw-r--r--ext/snmp/tests/skipif.inc13
-rw-r--r--ext/snmp/tests/snmp-object-errno-errstr.phpt147
-rw-r--r--ext/snmp/tests/snmp-object-error.phpt122
-rw-r--r--ext/snmp/tests/snmp-object-properties.phpt208
-rw-r--r--ext/snmp/tests/snmp-object-setSecurity_error.phpt66
-rw-r--r--ext/snmp/tests/snmp-object.phpt234
-rw-r--r--ext/snmp/tests/snmp2_get.phpt104
-rw-r--r--ext/snmp/tests/snmp2_getnext.phpt39
-rw-r--r--ext/snmp/tests/snmp2_real_walk.phpt86
-rw-r--r--ext/snmp/tests/snmp2_set-nomib.phpt59
-rw-r--r--ext/snmp/tests/snmp2_set.phpt248
-rw-r--r--ext/snmp/tests/snmp2_walk.phpt99
-rw-r--r--ext/snmp/tests/snmp3-error.phpt76
-rw-r--r--ext/snmp/tests/snmp3.phpt127
-rw-r--r--ext/snmp/tests/snmp_get_quick_print.phpt41
-rw-r--r--ext/snmp/tests/snmp_get_valueretrieval.phpt53
-rw-r--r--ext/snmp/tests/snmp_getvalue.phpt83
-rw-r--r--ext/snmp/tests/snmp_include.inc31
-rw-r--r--ext/snmp/tests/snmp_read_mib.phpt34
-rw-r--r--ext/snmp/tests/snmp_set_enum_print.phpt28
-rw-r--r--ext/snmp/tests/snmp_set_oid_output_format.phpt32
-rw-r--r--ext/snmp/tests/snmpd.conf25
-rw-r--r--ext/snmp/tests/snmpget.phpt106
-rw-r--r--ext/snmp/tests/snmpgetnext.phpt39
-rw-r--r--ext/snmp/tests/snmprealwalk.phpt86
-rw-r--r--ext/snmp/tests/snmpset-nomib.phpt60
-rw-r--r--ext/snmp/tests/snmpset.phpt248
-rw-r--r--ext/snmp/tests/snmpwalk.phpt99
-rw-r--r--ext/snmp/tests/wrong_hostname.phpt22
-rw-r--r--ext/soap/TODO.old1
-rw-r--r--ext/soap/php_encoding.c389
-rw-r--r--ext/soap/php_encoding.h16
-rw-r--r--ext/soap/php_http.c16
-rw-r--r--ext/soap/php_packet_soap.c20
-rw-r--r--ext/soap/php_sdl.c10
-rw-r--r--ext/soap/php_xml.c26
-rw-r--r--ext/soap/php_xml.h7
-rw-r--r--ext/soap/soap.c357
-rw-r--r--ext/soap/tests/bugs/bug31422.phpt1
-rw-r--r--ext/soap/tests/error_handler.phpt17
-rw-r--r--ext/sockets/config.m421
-rw-r--r--ext/sockets/config.w323
-rw-r--r--ext/sockets/multicast.c545
-rw-r--r--ext/sockets/multicast.h91
-rw-r--r--ext/sockets/php_sockets.h10
-rw-r--r--ext/sockets/sockets.c618
-rw-r--r--ext/sockets/tests/mcast_helpers.php.inc8
-rw-r--r--ext/sockets/tests/mcast_ipv4_recv.phpt197
-rw-r--r--ext/sockets/tests/mcast_ipv4_send.phpt65
-rw-r--r--ext/sockets/tests/mcast_ipv4_send_error.phpt79
-rw-r--r--ext/sockets/tests/mcast_ipv6_recv.phpt223
-rw-r--r--ext/sockets/tests/mcast_ipv6_recv_limited.phpt131
-rw-r--r--ext/sockets/tests/mcast_ipv6_send.phpt70
-rw-r--r--ext/sockets/tests/socket_import_stream-1.phpt26
-rw-r--r--ext/sockets/tests/socket_import_stream-2.phpt49
-rw-r--r--ext/sockets/tests/socket_import_stream-3.phpt46
-rw-r--r--ext/sockets/tests/socket_import_stream-4.phpt98
-rw-r--r--ext/sockets/tests/socket_import_stream-5.phpt23
-rw-r--r--ext/sockets/tests/socket_set_option_seolinger.phpt9
-rwxr-xr-xext/spl/examples/dbaarray.inc5
-rwxr-xr-xext/spl/internal/regexiterator.inc7
-rwxr-xr-xext/spl/php_spl.c49
-rwxr-xr-xext/spl/php_spl.h1
-rwxr-xr-xext/spl/spl_array.c326
-rwxr-xr-xext/spl/spl_directory.c93
-rw-r--r--ext/spl/spl_dllist.c124
-rw-r--r--ext/spl/spl_fixedarray.c17
-rwxr-xr-xext/spl/spl_functions.c12
-rwxr-xr-xext/spl/spl_functions.h1
-rw-r--r--ext/spl/spl_heap.c7
-rwxr-xr-xext/spl/spl_iterators.c182
-rwxr-xr-xext/spl/spl_iterators.h11
-rwxr-xr-xext/spl/spl_observer.c271
-rw-r--r--ext/spl/tests/CallbackFilterIteratorTest-002.phpt50
-rw-r--r--ext/spl/tests/CallbackFilterIteratorTest.phpt133
-rw-r--r--ext/spl/tests/RecursiveCallbackFilterIteratorTest.phpt138
-rw-r--r--ext/spl/tests/SplDoublyLinkedList_serialization.phpt67
-rw-r--r--ext/spl/tests/SplFileObject_fputcsv.phpt106
-rw-r--r--ext/spl/tests/SplFileObject_fputcsv_002.phpt42
-rw-r--r--ext/spl/tests/SplFileObject_fputcsv_error.phpt35
-rw-r--r--ext/spl/tests/SplFileObject_fputcsv_variation1.phpt826
-rw-r--r--ext/spl/tests/SplFileObject_fputcsv_variation10.phpt327
-rw-r--r--ext/spl/tests/SplFileObject_fputcsv_variation11.phpt826
-rw-r--r--ext/spl/tests/SplFileObject_fputcsv_variation12.phpt827
-rw-r--r--ext/spl/tests/SplFileObject_fputcsv_variation13.phpt29
-rw-r--r--ext/spl/tests/SplFileObject_fputcsv_variation14.phpt29
-rw-r--r--ext/spl/tests/SplFileObject_fputcsv_variation5.phpt826
-rw-r--r--ext/spl/tests/SplFileObject_fputcsv_variation6.phpt829
-rw-r--r--ext/spl/tests/SplFileObject_fputcsv_variation7.phpt829
-rw-r--r--ext/spl/tests/SplFileObject_fputcsv_variation8.phpt829
-rw-r--r--ext/spl/tests/SplFileObject_fwrite_variation_003.phpt22
-rw-r--r--ext/spl/tests/SplObjectStorage_getHash.phpt60
-rw-r--r--ext/spl/tests/SplObjectStorage_unserialize_bad.phpt6
-rw-r--r--ext/spl/tests/SplObjectStorage_unserialize_nested.phpt2
-rwxr-xr-xext/spl/tests/array_004.phpt111
-rwxr-xr-xext/spl/tests/array_008.phpt29
-rw-r--r--ext/spl/tests/bug49263.phpt2
-rw-r--r--ext/spl/tests/bug53515.phpt2
-rw-r--r--ext/spl/tests/bug54323.phpt24
-rwxr-xr-xext/spl/tests/bug60082.phpt23
-rw-r--r--ext/spl/tests/bug60201.phpt30
-rw-r--r--ext/spl/tests/bug61453.phpt19
-rw-r--r--ext/spl/tests/class_uses_basic.phpt33
-rw-r--r--ext/spl/tests/class_uses_basic2.phpt69
-rw-r--r--ext/spl/tests/class_uses_variation.phpt45
-rw-r--r--ext/spl/tests/class_uses_variation1.phpt221
-rw-r--r--ext/spl/tests/class_uses_variation2.phpt261
-rw-r--r--ext/spl/tests/dllist_001.phpt12
-rw-r--r--ext/spl/tests/dllist_004.phpt7
-rw-r--r--ext/spl/tests/dllist_005.phpt7
-rw-r--r--ext/spl/tests/filesystemiterator_flags.phpt40
-rw-r--r--ext/spl/tests/fixedarray_001.phpt2
-rw-r--r--ext/spl/tests/fixedarray_002.phpt2
-rwxr-xr-xext/spl/tests/iterator_026.phpt4
-rwxr-xr-xext/spl/tests/iterator_041b.phpt13
-rwxr-xr-xext/spl/tests/iterator_047.phpt8
-rwxr-xr-xext/spl/tests/iterator_050.phpt4
-rwxr-xr-xext/spl/tests/iterator_052.phpt4
-rwxr-xr-xext/spl/tests/iterator_054.phpt2
-rw-r--r--ext/spl/tests/regexiterator_getregex.phpt29
-rwxr-xr-xext/spl/tests/spl_004.phpt2
-rw-r--r--ext/sqlite/CREDITS2
-rw-r--r--ext/sqlite/Makefile.frag2
-rw-r--r--ext/sqlite/README14
-rw-r--r--ext/sqlite/TODO19
-rw-r--r--ext/sqlite/config.m4157
-rw-r--r--ext/sqlite/config.w3239
-rw-r--r--ext/sqlite/libsqlite/README37
-rw-r--r--ext/sqlite/libsqlite/VERSION1
-rw-r--r--ext/sqlite/libsqlite/src/attach.c311
-rw-r--r--ext/sqlite/libsqlite/src/auth.c219
-rw-r--r--ext/sqlite/libsqlite/src/btree.c3584
-rw-r--r--ext/sqlite/libsqlite/src/btree.h156
-rw-r--r--ext/sqlite/libsqlite/src/btree_rb.c1488
-rw-r--r--ext/sqlite/libsqlite/src/build.c2156
-rwxr-xr-xext/sqlite/libsqlite/src/config_static.w32.h1
-rw-r--r--ext/sqlite/libsqlite/src/copy.c110
-rw-r--r--ext/sqlite/libsqlite/src/date.c881
-rw-r--r--ext/sqlite/libsqlite/src/delete.c393
-rw-r--r--ext/sqlite/libsqlite/src/encode.c257
-rw-r--r--ext/sqlite/libsqlite/src/expr.c1662
-rw-r--r--ext/sqlite/libsqlite/src/func.c658
-rw-r--r--ext/sqlite/libsqlite/src/hash.c356
-rw-r--r--ext/sqlite/libsqlite/src/hash.h109
-rw-r--r--ext/sqlite/libsqlite/src/insert.c919
-rwxr-xr-xext/sqlite/libsqlite/src/libsqlite.dsp353
-rw-r--r--ext/sqlite/libsqlite/src/main.c1143
-rw-r--r--ext/sqlite/libsqlite/src/opcodes.c140
-rw-r--r--ext/sqlite/libsqlite/src/opcodes.h138
-rw-r--r--ext/sqlite/libsqlite/src/os.c1850
-rw-r--r--ext/sqlite/libsqlite/src/os.h191
-rw-r--r--ext/sqlite/libsqlite/src/pager.c2220
-rw-r--r--ext/sqlite/libsqlite/src/pager.h107
-rw-r--r--ext/sqlite/libsqlite/src/parse.c3355
-rw-r--r--ext/sqlite/libsqlite/src/parse.h130
-rw-r--r--ext/sqlite/libsqlite/src/parse.y897
-rw-r--r--ext/sqlite/libsqlite/src/pragma.c712
-rw-r--r--ext/sqlite/libsqlite/src/printf.c858
-rw-r--r--ext/sqlite/libsqlite/src/random.c97
-rw-r--r--ext/sqlite/libsqlite/src/select.c2434
-rw-r--r--ext/sqlite/libsqlite/src/sqlite.h.in886
-rw-r--r--ext/sqlite/libsqlite/src/sqlite.w32.h764
-rw-r--r--ext/sqlite/libsqlite/src/sqliteInt.h1270
-rw-r--r--ext/sqlite/libsqlite/src/sqlite_config.w32.h8
-rw-r--r--ext/sqlite/libsqlite/src/table.c203
-rw-r--r--ext/sqlite/libsqlite/src/tokenize.c679
-rw-r--r--ext/sqlite/libsqlite/src/trigger.c764
-rw-r--r--ext/sqlite/libsqlite/src/update.c459
-rw-r--r--ext/sqlite/libsqlite/src/util.c1134
-rw-r--r--ext/sqlite/libsqlite/src/vacuum.c305
-rw-r--r--ext/sqlite/libsqlite/src/vdbe.c4921
-rw-r--r--ext/sqlite/libsqlite/src/vdbe.h112
-rw-r--r--ext/sqlite/libsqlite/src/vdbeInt.h303
-rw-r--r--ext/sqlite/libsqlite/src/vdbeaux.c1061
-rw-r--r--ext/sqlite/libsqlite/src/where.c1235
-rw-r--r--ext/sqlite/package.xml136
-rw-r--r--ext/sqlite/pdo_sqlite2.c638
-rw-r--r--ext/sqlite/php_sqlite.def43
-rw-r--r--ext/sqlite/php_sqlite.h107
-rw-r--r--ext/sqlite/sess_sqlite.c201
-rw-r--r--ext/sqlite/sqlite.c3448
-rw-r--r--ext/sqlite/sqlite.dsp339
-rw-r--r--ext/sqlite/sqlite.php36
-rw-r--r--ext/sqlite/tests/blankdb.inc3
-rwxr-xr-xext/sqlite/tests/blankdb_oo.inc3
-rw-r--r--ext/sqlite/tests/bug26911.phpt12
-rwxr-xr-xext/sqlite/tests/bug28112.phpt16
-rw-r--r--ext/sqlite/tests/bug35248.phpt15
-rw-r--r--ext/sqlite/tests/bug38759.phpt18
-rw-r--r--ext/sqlite/tests/bug48679.phpt20
-rw-r--r--ext/sqlite/tests/pdo/common.phpt12
-rwxr-xr-xext/sqlite/tests/sqlite_001.phpt16
-rwxr-xr-xext/sqlite/tests/sqlite_002.phpt32
-rwxr-xr-xext/sqlite/tests/sqlite_003.phpt52
-rw-r--r--ext/sqlite/tests/sqlite_004.phpt49
-rw-r--r--ext/sqlite/tests/sqlite_005.phpt50
-rw-r--r--ext/sqlite/tests/sqlite_006.phpt55
-rwxr-xr-xext/sqlite/tests/sqlite_007.phpt52
-rwxr-xr-xext/sqlite/tests/sqlite_008.phpt46
-rwxr-xr-xext/sqlite/tests/sqlite_009.phpt46
-rwxr-xr-xext/sqlite/tests/sqlite_010.phpt81
-rwxr-xr-xext/sqlite/tests/sqlite_011.phpt34
-rwxr-xr-xext/sqlite/tests/sqlite_012.phpt38
-rwxr-xr-xext/sqlite/tests/sqlite_013.phpt78
-rwxr-xr-xext/sqlite/tests/sqlite_014.phpt120
-rwxr-xr-xext/sqlite/tests/sqlite_015.phpt49
-rwxr-xr-xext/sqlite/tests/sqlite_016.phpt45
-rwxr-xr-xext/sqlite/tests/sqlite_017.phpt33
-rwxr-xr-xext/sqlite/tests/sqlite_018.phpt14
-rwxr-xr-xext/sqlite/tests/sqlite_019.phpt47
-rwxr-xr-xext/sqlite/tests/sqlite_022.phpt101
-rw-r--r--ext/sqlite/tests/sqlite_023.phpt105
-rwxr-xr-xext/sqlite/tests/sqlite_024.phpt76
-rwxr-xr-xext/sqlite/tests/sqlite_025.phpt38
-rwxr-xr-xext/sqlite/tests/sqlite_026.phpt27
-rwxr-xr-xext/sqlite/tests/sqlite_027.phpt15
-rwxr-xr-xext/sqlite/tests/sqlite_closures_001.phpt54
-rwxr-xr-xext/sqlite/tests/sqlite_closures_002.phpt52
-rw-r--r--ext/sqlite/tests/sqlite_exec_basic.phpt34
-rw-r--r--ext/sqlite/tests/sqlite_exec_error.phpt44
-rw-r--r--ext/sqlite/tests/sqlite_last_error_basic.phpt48
-rw-r--r--ext/sqlite/tests/sqlite_last_error_error.phpt47
-rwxr-xr-xext/sqlite/tests/sqlite_oo_001.phpt17
-rwxr-xr-xext/sqlite/tests/sqlite_oo_002.phpt41
-rwxr-xr-xext/sqlite/tests/sqlite_oo_003.phpt51
-rwxr-xr-xext/sqlite/tests/sqlite_oo_008.phpt43
-rwxr-xr-xext/sqlite/tests/sqlite_oo_009.phpt43
-rwxr-xr-xext/sqlite/tests/sqlite_oo_010.phpt44
-rwxr-xr-xext/sqlite/tests/sqlite_oo_011.phpt33
-rwxr-xr-xext/sqlite/tests/sqlite_oo_012.phpt35
-rwxr-xr-xext/sqlite/tests/sqlite_oo_013.phpt75
-rwxr-xr-xext/sqlite/tests/sqlite_oo_014.phpt118
-rwxr-xr-xext/sqlite/tests/sqlite_oo_015.phpt47
-rwxr-xr-xext/sqlite/tests/sqlite_oo_016.phpt42
-rwxr-xr-xext/sqlite/tests/sqlite_oo_020.phpt66
-rwxr-xr-xext/sqlite/tests/sqlite_oo_021.phpt48
-rwxr-xr-xext/sqlite/tests/sqlite_oo_022.phpt98
-rwxr-xr-xext/sqlite/tests/sqlite_oo_024.phpt74
-rwxr-xr-xext/sqlite/tests/sqlite_oo_025.phpt103
-rwxr-xr-xext/sqlite/tests/sqlite_oo_026.phpt56
-rwxr-xr-xext/sqlite/tests/sqlite_oo_027.phpt42
-rwxr-xr-xext/sqlite/tests/sqlite_oo_028.phpt25
-rwxr-xr-xext/sqlite/tests/sqlite_oo_029.phpt53
-rwxr-xr-xext/sqlite/tests/sqlite_oo_030.phpt44
-rw-r--r--ext/sqlite/tests/sqlite_popen_basic.phpt27
-rw-r--r--ext/sqlite/tests/sqlite_popen_error.phpt34
-rw-r--r--ext/sqlite/tests/sqlite_session_001.phpt46
-rw-r--r--ext/sqlite/tests/sqlite_session_002.phpt54
-rwxr-xr-xext/sqlite/tests/sqlite_spl_001.phpt125
-rwxr-xr-xext/sqlite/tests/sqlite_spl_002.phpt29
-rwxr-xr-xext/sqlite/tests/sqlite_spl_003.phpt28
-rw-r--r--ext/sqlite/tests/sqlitedatabase_arrayquery.phpt23
-rw-r--r--ext/sqlite3/php_sqlite3.h2
-rw-r--r--ext/sqlite3/sqlite3.c14
-rw-r--r--ext/sqlite3/tests/bug53463.phpt2
-rw-r--r--ext/sqlite3/tests/sqlite3_15_open_error.phpt4
-rw-r--r--ext/standard/array.c50
-rw-r--r--ext/standard/assert.c2
-rw-r--r--ext/standard/basic_functions.c425
-rw-r--r--ext/standard/basic_functions.h31
-rw-r--r--ext/standard/browscap.c4
-rw-r--r--ext/standard/config.m44
-rw-r--r--ext/standard/credits.c1
-rw-r--r--ext/standard/credits_ext.h15
-rw-r--r--ext/standard/crypt.c4
-rw-r--r--ext/standard/crypt_sha256.c2
-rw-r--r--ext/standard/crypt_sha512.c2
-rw-r--r--ext/standard/cyr_convert.c2
-rw-r--r--ext/standard/datetime.c21
-rw-r--r--ext/standard/dir.c39
-rw-r--r--ext/standard/dl.c3
-rw-r--r--ext/standard/dns.c60
-rw-r--r--ext/standard/dns_win32.c61
-rw-r--r--ext/standard/exec.c57
-rw-r--r--ext/standard/file.c318
-rw-r--r--ext/standard/file.h6
-rw-r--r--ext/standard/filestat.c316
-rw-r--r--ext/standard/formatted_print.c3
-rw-r--r--ext/standard/fsock.c2
-rw-r--r--ext/standard/ftok.c10
-rw-r--r--ext/standard/ftp_fopen_wrapper.c5
-rw-r--r--ext/standard/head.c41
-rw-r--r--ext/standard/head.h1
-rw-r--r--ext/standard/html.c2471
-rw-r--r--ext/standard/html.h40
-rw-r--r--ext/standard/html_tables.h6235
-rw-r--r--ext/standard/html_tables/ents_basic.txt5
-rw-r--r--ext/standard/html_tables/ents_basic_apos.txt5
-rw-r--r--ext/standard/html_tables/ents_html401.txt253
-rw-r--r--ext/standard/html_tables/ents_html5.txt2125
-rw-r--r--ext/standard/html_tables/ents_xhtml.txt253
-rw-r--r--ext/standard/html_tables/html_table_gen.php812
-rw-r--r--ext/standard/html_tables/mappings/8859-1.TXT303
-rw-r--r--ext/standard/html_tables/mappings/8859-15.TXT303
-rw-r--r--ext/standard/html_tables/mappings/8859-5.TXT303
-rw-r--r--ext/standard/html_tables/mappings/CP1251.TXT274
-rw-r--r--ext/standard/html_tables/mappings/CP1252.TXT274
-rw-r--r--ext/standard/html_tables/mappings/CP866.TXT275
-rw-r--r--ext/standard/html_tables/mappings/KOI8-R.TXT302
-rw-r--r--ext/standard/html_tables/mappings/ROMAN.TXT370
-rw-r--r--ext/standard/http.c46
-rw-r--r--ext/standard/http_fopen_wrapper.c11
-rw-r--r--ext/standard/image.c73
-rw-r--r--ext/standard/incomplete_class.c14
-rw-r--r--ext/standard/info.c694
-rw-r--r--ext/standard/iptc.c16
-rw-r--r--ext/standard/link.c47
-rw-r--r--ext/standard/link_win32.c15
-rw-r--r--ext/standard/mail.c20
-rw-r--r--ext/standard/math.c55
-rw-r--r--ext/standard/md5.c4
-rw-r--r--ext/standard/pack.c1
-rw-r--r--ext/standard/pageinfo.c38
-rw-r--r--ext/standard/pageinfo.h4
-rw-r--r--ext/standard/php_array.h2
-rw-r--r--ext/standard/php_crypt_r.c7
-rw-r--r--ext/standard/php_dir.h4
-rw-r--r--ext/standard/php_ext_syslog.h1
-rw-r--r--ext/standard/php_http.h2
-rw-r--r--ext/standard/php_image.h1
-rw-r--r--ext/standard/php_incomplete_class.h2
-rw-r--r--ext/standard/php_math.h3
-rw-r--r--ext/standard/php_string.h10
-rw-r--r--ext/standard/php_var.h80
-rw-r--r--ext/standard/proc_open.c82
-rw-r--r--ext/standard/sha1.c4
-rw-r--r--ext/standard/streamsfuncs.c91
-rw-r--r--ext/standard/streamsfuncs.h1
-rw-r--r--ext/standard/string.c700
-rw-r--r--ext/standard/syslog.c91
-rw-r--r--ext/standard/tests/array/002.phpt40
-rw-r--r--ext/standard/tests/array/array_change_key_case_variation7.phpt28
-rw-r--r--ext/standard/tests/array/array_change_key_case_variation8.phpt6
-rw-r--r--ext/standard/tests/array/array_combine_error2.phpt5
-rw-r--r--ext/standard/tests/array/array_combine_variation3.phpt5
-rw-r--r--ext/standard/tests/array/array_combine_variation4.phpt5
-rw-r--r--ext/standard/tests/array/array_combine_variation5.phpt5
-rw-r--r--ext/standard/tests/array/array_diff_variation9.phpt56
-rw-r--r--ext/standard/tests/array/array_fill_object.phpt2
-rw-r--r--ext/standard/tests/array/array_fill_object_2_4.phpt434
-rw-r--r--ext/standard/tests/array/array_intersect_assoc_variation9.phpt24
-rw-r--r--ext/standard/tests/array/array_intersect_variation9.phpt92
-rw-r--r--ext/standard/tests/array/array_key_exists_variation4.phpt15
-rw-r--r--ext/standard/tests/array/array_map_variation19.phpt2
-rw-r--r--ext/standard/tests/array/array_merge_variation9.phpt15
-rw-r--r--ext/standard/tests/array/array_multisort_basic1.phpt2
-rw-r--r--ext/standard/tests/array/array_multisort_basic2.phpt2
-rw-r--r--ext/standard/tests/array/array_multisort_case.phpt73
-rw-r--r--ext/standard/tests/array/array_multisort_error.phpt2
-rw-r--r--ext/standard/tests/array/array_multisort_incase.phpt73
-rw-r--r--ext/standard/tests/array/array_multisort_natural.phpt61
-rw-r--r--ext/standard/tests/array/array_multisort_natural_case.phpt73
-rw-r--r--ext/standard/tests/array/array_multisort_natural_incase.phpt73
-rw-r--r--ext/standard/tests/array/array_multisort_variation1.phpt2
-rw-r--r--ext/standard/tests/array/array_multisort_variation10.phpt2
-rw-r--r--ext/standard/tests/array/array_multisort_variation11.phpt2
-rw-r--r--ext/standard/tests/array/array_multisort_variation2.phpt4
-rw-r--r--ext/standard/tests/array/array_multisort_variation3.phpt2
-rw-r--r--ext/standard/tests/array/array_multisort_variation4.phpt2
-rw-r--r--ext/standard/tests/array/array_multisort_variation5.phpt2
-rw-r--r--ext/standard/tests/array/array_multisort_variation6.phpt2
-rw-r--r--ext/standard/tests/array/array_multisort_variation7.phpt2
-rw-r--r--ext/standard/tests/array/array_multisort_variation8.phpt2
-rw-r--r--ext/standard/tests/array/array_multisort_variation9.phpt2
-rw-r--r--ext/standard/tests/array/array_push_variation4.phpt110
-rw-r--r--ext/standard/tests/array/array_slice_variation9.phpt25
-rw-r--r--ext/standard/tests/array/array_unique_variation8.phpt28
-rw-r--r--ext/standard/tests/array/array_values_variation6.phpt16
-rw-r--r--ext/standard/tests/array/arsort_basic.phpt120
-rw-r--r--ext/standard/tests/array/arsort_variation2.phpt6
-rw-r--r--ext/standard/tests/array/arsort_variation5.phpt12
-rw-r--r--ext/standard/tests/array/asort_basic.phpt122
-rw-r--r--ext/standard/tests/array/asort_variation2.phpt4
-rw-r--r--ext/standard/tests/array/asort_variation5.phpt12
-rwxr-xr-xext/standard/tests/array/bug29253.phpt2
-rwxr-xr-xext/standard/tests/array/bug33940.phpt63
-rw-r--r--ext/standard/tests/array/current_variation5.phpt2
-rw-r--r--ext/standard/tests/array/each_variation4.phpt31
-rw-r--r--ext/standard/tests/array/krsort_basic.phpt157
-rw-r--r--ext/standard/tests/array/krsort_variation2.phpt4
-rw-r--r--ext/standard/tests/array/krsort_variation5.phpt12
-rw-r--r--ext/standard/tests/array/ksort_basic.phpt158
-rw-r--r--ext/standard/tests/array/ksort_variation2.phpt4
-rw-r--r--ext/standard/tests/array/ksort_variation5.phpt12
-rw-r--r--ext/standard/tests/array/natcasesort_variation4.phpt6
-rw-r--r--ext/standard/tests/array/range_variation.phpt2
-rw-r--r--ext/standard/tests/array/rsort_basic.phpt128
-rw-r--r--ext/standard/tests/array/rsort_variation4.phpt18
-rw-r--r--ext/standard/tests/array/rsort_variation5.phpt26
-rw-r--r--ext/standard/tests/array/sort_basic.phpt130
-rw-r--r--ext/standard/tests/array/sort_variation2.phpt4
-rw-r--r--ext/standard/tests/array/sort_variation5.phpt24
-rw-r--r--ext/standard/tests/class_object/AutoTrait.inc5
-rw-r--r--ext/standard/tests/class_object/class_exists_variation_001.phpt5
-rw-r--r--ext/standard/tests/class_object/class_exists_variation_002.phpt5
-rw-r--r--ext/standard/tests/class_object/get_class_methods_variation_001.phpt5
-rw-r--r--ext/standard/tests/class_object/get_class_variation_001.phpt2
-rw-r--r--ext/standard/tests/class_object/get_declared_traits_basic_001.phpt56
-rw-r--r--ext/standard/tests/class_object/get_declared_traits_error_001.phpt27
-rw-r--r--ext/standard/tests/class_object/get_declared_traits_variation1.phpt41
-rw-r--r--ext/standard/tests/class_object/get_object_vars_variation_003.phpt2
-rw-r--r--ext/standard/tests/class_object/get_parent_class_variation_002.phpt5
-rw-r--r--ext/standard/tests/class_object/is_a_variation_001.phpt2
-rw-r--r--ext/standard/tests/class_object/is_a_variation_002.phpt2
-rw-r--r--ext/standard/tests/class_object/is_subclass_of_variation_001.phpt5
-rw-r--r--ext/standard/tests/class_object/is_subclass_of_variation_002.phpt5
-rw-r--r--ext/standard/tests/class_object/is_subclass_of_variation_004.phpt5
-rw-r--r--ext/standard/tests/class_object/method_exists_variation_001.phpt5
-rw-r--r--ext/standard/tests/class_object/method_exists_variation_002.phpt5
-rw-r--r--ext/standard/tests/class_object/trait_class_exists_variation_003.phpt18
-rw-r--r--ext/standard/tests/class_object/trait_exists_basic_001.phpt57
-rw-r--r--ext/standard/tests/class_object/trait_exists_error_001.phpt42
-rw-r--r--ext/standard/tests/class_object/trait_exists_variation_001.phpt187
-rw-r--r--ext/standard/tests/class_object/trait_exists_variation_002.phpt198
-rw-r--r--ext/standard/tests/dir/chdir_variation1.phpt4
-rw-r--r--ext/standard/tests/dir/dir_variation1-win32.phpt170
-rw-r--r--ext/standard/tests/dir/dir_variation5-win32.phpt37
-rw-r--r--ext/standard/tests/dir/dir_variation6-win32.phpt61
-rw-r--r--ext/standard/tests/dir/dir_variation8-win32.phpt68
-rw-r--r--ext/standard/tests/dir/dir_variation9-win32.phpt125
-rw-r--r--ext/standard/tests/dir/opendir_error2-win32.phpt47
-rw-r--r--ext/standard/tests/dir/opendir_variation1-win32.phpt248
-rw-r--r--ext/standard/tests/dir/readdir_variation4.phpt2
-rw-r--r--ext/standard/tests/dir/scandir_basic.phpt2
-rw-r--r--ext/standard/tests/dir/scandir_error2-win32.phpt51
-rw-r--r--ext/standard/tests/dir/scandir_variation1-win32.phpt289
-rw-r--r--ext/standard/tests/dir/scandir_variation1.phpt4
-rw-r--r--ext/standard/tests/dir/scandir_variation10.phpt79
-rw-r--r--ext/standard/tests/dir/scandir_variation3.phpt2
-rw-r--r--ext/standard/tests/dir/scandir_variation6-win32.phpt84
-rw-r--r--ext/standard/tests/dir/scandir_variation8.phpt2
-rw-r--r--ext/standard/tests/file/005_variation2-win32.phpt8
-rw-r--r--ext/standard/tests/file/005_variation2.phpt6
-rw-r--r--ext/standard/tests/file/007_error.phpt4
-rw-r--r--ext/standard/tests/file/bug22414.phpt3
-rw-r--r--ext/standard/tests/file/bug38450_3.phpt2
-rw-r--r--ext/standard/tests/file/bug39863.phpt3
-rw-r--r--ext/standard/tests/file/bug52820.phpt22
-rw-r--r--ext/standard/tests/file/bug55124.phpt18
-rw-r--r--ext/standard/tests/file/chmod_variation3.phpt10
-rw-r--r--ext/standard/tests/file/copy_variation4.phptbin4468 -> 4966 bytes
-rw-r--r--ext/standard/tests/file/disk_free_space_variation.phpt32
-rw-r--r--ext/standard/tests/file/disk_total_space_variation.phpt16
-rw-r--r--ext/standard/tests/file/fclose_variation1.phpt15
-rw-r--r--ext/standard/tests/file/file_get_contents_variation8-win32.phpt15
-rw-r--r--ext/standard/tests/file/file_get_contents_variation8.phpt13
-rw-r--r--ext/standard/tests/file/file_put_contents_variation8-win32.phpt4
-rw-r--r--ext/standard/tests/file/file_put_contents_variation8.phptbin2229 -> 2388 bytes
-rw-r--r--ext/standard/tests/file/file_variation2.phpt10
-rw-r--r--ext/standard/tests/file/filegroup_variation2.phpt2
-rw-r--r--ext/standard/tests/file/filegroup_variation3.phpt8
-rw-r--r--ext/standard/tests/file/fileinode_variation2.phpt2
-rw-r--r--ext/standard/tests/file/fileinode_variation3.phpt8
-rw-r--r--ext/standard/tests/file/fileowner_variation2.phpt2
-rw-r--r--ext/standard/tests/file/fileowner_variation3.phpt8
-rw-r--r--ext/standard/tests/file/fileperms_variation2.phpt2
-rw-r--r--ext/standard/tests/file/fileperms_variation3.phpt8
-rw-r--r--ext/standard/tests/file/fnmatch_error.phpt6
-rw-r--r--ext/standard/tests/file/fnmatch_variation.phpt134
-rw-r--r--ext/standard/tests/file/fpassthru_variation1.phpt2
-rw-r--r--ext/standard/tests/file/fseek_variation1.phpt2
-rw-r--r--ext/standard/tests/file/glob_variation-win32.phpt28
-rwxr-xr-xext/standard/tests/file/glob_variation.phpt28
-rw-r--r--ext/standard/tests/file/is_dir_variation3.phpt2
-rw-r--r--ext/standard/tests/file/is_dir_variation4.phpt8
-rw-r--r--ext/standard/tests/file/is_executable_variation1.phpt8
-rw-r--r--ext/standard/tests/file/is_executable_variation3.phpt2
-rw-r--r--ext/standard/tests/file/is_file_error.phpt2
-rw-r--r--ext/standard/tests/file/is_file_variation3.phpt2
-rw-r--r--ext/standard/tests/file/is_file_variation4.phpt8
-rw-r--r--ext/standard/tests/file/is_readable_variation1.phpt12
-rw-r--r--ext/standard/tests/file/is_readable_variation3.phpt2
-rw-r--r--ext/standard/tests/file/is_writable_variation1.phpt26
-rw-r--r--ext/standard/tests/file/is_writable_variation3.phpt4
-rw-r--r--ext/standard/tests/file/lchown_error.phpt4
-rw-r--r--ext/standard/tests/file/lstat_stat_error.phpt4
-rw-r--r--ext/standard/tests/file/lstat_stat_variation7.phpt2
-rw-r--r--ext/standard/tests/file/magic_quotes.phpt77
-rw-r--r--ext/standard/tests/file/mkdir_rmdir_variation2.phpt6
-rw-r--r--ext/standard/tests/file/parse_ini_file_variation3.phpt4
-rw-r--r--ext/standard/tests/file/parse_ini_file_variation4.phpt10
-rw-r--r--ext/standard/tests/file/readfile_variation10-win32.phpt18
-rw-r--r--ext/standard/tests/file/readfile_variation10.phptbin1852 -> 1869 bytes
-rw-r--r--ext/standard/tests/file/rename_variation13-win32.phptbin3962 -> 5058 bytes
-rw-r--r--ext/standard/tests/file/rename_variation13.phpt14
-rw-r--r--ext/standard/tests/file/rename_variation7-win32.phpt6
-rw-r--r--ext/standard/tests/file/stat_error-win32.phpt2
-rw-r--r--ext/standard/tests/file/stream_enclosed.phpt20
-rwxr-xr-xext/standard/tests/file/stream_rfc2397_006.phpt7
-rw-r--r--ext/standard/tests/file/tempnam_variation3-win32.phpt5
-rw-r--r--ext/standard/tests/file/tempnam_variation3.phpt6
-rw-r--r--ext/standard/tests/file/tempnam_variation7-win32.phpt10
-rw-r--r--ext/standard/tests/file/tempnam_variation7.phpt8
-rw-r--r--ext/standard/tests/file/umask_variation3.phpt6
-rw-r--r--ext/standard/tests/file/userstreams_005.phpt63
-rw-r--r--ext/standard/tests/file/userstreams_006.phpt38
-rw-r--r--ext/standard/tests/file/userstreams_007.phpt49
-rw-r--r--ext/standard/tests/file/windows_links/bug48746.phpt2
-rw-r--r--ext/standard/tests/file/windows_links/bug48746_1.phpt2
-rw-r--r--ext/standard/tests/file/windows_links/bug48746_2.phpt2
-rw-r--r--ext/standard/tests/file/windows_links/bug48746_3.phpt2
-rw-r--r--ext/standard/tests/filters/php_user_filter_01.phpt2
-rw-r--r--ext/standard/tests/filters/php_user_filter_02.phpt2
-rw-r--r--ext/standard/tests/filters/php_user_filter_03.phpt2
-rw-r--r--ext/standard/tests/general_functions/bug41518.phpt7
-rw-r--r--ext/standard/tests/general_functions/bug55371.phpt10
-rw-r--r--ext/standard/tests/general_functions/call_user_func_array_variation_001.phpt2
-rw-r--r--ext/standard/tests/general_functions/debug_zval_dump_b.phptbin7279 -> 5004 bytes
-rw-r--r--ext/standard/tests/general_functions/debug_zval_dump_b_64bit.phptbin7279 -> 5004 bytes
-rw-r--r--ext/standard/tests/general_functions/debug_zval_dump_v.phpt11
-rw-r--r--ext/standard/tests/general_functions/get_cfg_var_variation8.phpt37
-rw-r--r--ext/standard/tests/general_functions/get_magic_quotes_gpc.phpt39
-rw-r--r--ext/standard/tests/general_functions/get_magic_quotes_runtime.phpt52
-rwxr-xr-xext/standard/tests/general_functions/getservbyname_variation10.phpt6
-rwxr-xr-xext/standard/tests/general_functions/getservbyname_variation9.phpt6
-rw-r--r--ext/standard/tests/general_functions/import_request.phpt4
-rw-r--r--ext/standard/tests/general_functions/import_request1.phpt2
-rw-r--r--ext/standard/tests/general_functions/import_request2.phpt2
-rw-r--r--ext/standard/tests/general_functions/import_request3.phpt2
-rw-r--r--ext/standard/tests/general_functions/ob_get_flush_error.phpt2
-rw-r--r--ext/standard/tests/general_functions/parse_ini_basic.data4
-rw-r--r--ext/standard/tests/general_functions/parse_ini_basic.phpt4
-rw-r--r--ext/standard/tests/general_functions/parse_ini_booleans.phpt8
-rw-r--r--ext/standard/tests/general_functions/phpinfo.phpt3
-rw-r--r--ext/standard/tests/general_functions/proc_nice_error.phpt19
-rw-r--r--ext/standard/tests/general_functions/putenv_error1.phpt26
-rw-r--r--ext/standard/tests/general_functions/putenv_error2.phpt20
-rw-r--r--ext/standard/tests/general_functions/set_magic_quotes_runtime_basic.phpt24
-rw-r--r--ext/standard/tests/general_functions/set_magic_quotes_runtime_variation1.phpt204
-rw-r--r--ext/standard/tests/general_functions/strval.phpt8
-rw-r--r--ext/standard/tests/general_functions/sys_getloadavg.phpt13
-rw-r--r--ext/standard/tests/image/getimagesizefromstring1.phpt49
-rw-r--r--ext/standard/tests/image/test.gifbin0 -> 2523 bytes
-rw-r--r--ext/standard/tests/mail/mail_basic2.phpt17
-rw-r--r--ext/standard/tests/mail/mail_variation2.phpt15
-rw-r--r--ext/standard/tests/math/bug45712.phpt2
-rw-r--r--ext/standard/tests/math/bug62112.phptbin0 -> 143 bytes
-rw-r--r--ext/standard/tests/math/number_format_multichar.phpt77
-rw-r--r--ext/standard/tests/misc/syslog_vars_variation1.phpt11
-rw-r--r--ext/standard/tests/misc/syslog_vars_variation2.phpt52
-rw-r--r--ext/standard/tests/network/define_syslog_variables_basic-win32.phpt107
-rw-r--r--ext/standard/tests/network/define_syslog_variables_basic.phpt126
-rw-r--r--ext/standard/tests/network/define_syslog_variables_error.phpt29
-rw-r--r--ext/standard/tests/network/define_syslog_variables_variation.phpt92
-rw-r--r--ext/standard/tests/network/define_syslog_variables_variation2-win32.phpt96
-rw-r--r--ext/standard/tests/network/define_syslog_variables_variation2.phpt96
-rw-r--r--ext/standard/tests/network/ip2long_variation1.phpt2
-rw-r--r--ext/standard/tests/serialize/bug36424.phpt72
-rw-r--r--ext/standard/tests/serialize/serialization_miscTypes_001.phptbin7586 -> 7617 bytes
-rw-r--r--ext/standard/tests/streams/bug49936.phpt13
-rw-r--r--ext/standard/tests/streams/bug53427.phpt27
-rw-r--r--ext/standard/tests/streams/bug54623.phpt4
-rw-r--r--ext/standard/tests/streams/stream_set_chunk_size.phpt93
-rw-r--r--ext/standard/tests/strings/add-and-stripslashes.phpt12
-rw-r--r--ext/standard/tests/strings/addslashes_variation3.phpt196
-rw-r--r--ext/standard/tests/strings/bug22904.phpt30
-rw-r--r--ext/standard/tests/strings/bug44703.phpt12
-rw-r--r--ext/standard/tests/strings/bug49785.phpt293
-rw-r--r--ext/standard/tests/strings/bug54322.phpt9
-rw-r--r--ext/standard/tests/strings/bug54454.phpt8
-rw-r--r--ext/standard/tests/strings/bug55871.phpt47
-rw-r--r--ext/standard/tests/strings/bug60965.phpt10
-rw-r--r--ext/standard/tests/strings/bug61374.phpt7
-rw-r--r--ext/standard/tests/strings/bug61660.phpt11
-rw-r--r--ext/standard/tests/strings/crypt_blowfish.phpt32
-rw-r--r--ext/standard/tests/strings/get_html_translation_table_basic1.phpt1094
-rw-r--r--ext/standard/tests/strings/get_html_translation_table_basic2.phpt2494
-rw-r--r--ext/standard/tests/strings/get_html_translation_table_basic3.phpt36
-rw-r--r--ext/standard/tests/strings/get_html_translation_table_basic4.phpt352
-rw-r--r--ext/standard/tests/strings/get_html_translation_table_basic5.phpt1598
-rw-r--r--ext/standard/tests/strings/get_html_translation_table_basic6.phpt249
-rw-r--r--ext/standard/tests/strings/get_html_translation_table_basic7.phpt342
-rw-r--r--ext/standard/tests/strings/get_html_translation_table_basic8.phpt93
-rw-r--r--ext/standard/tests/strings/get_html_translation_table_basic9.phpt95
-rw-r--r--ext/standard/tests/strings/get_html_translation_table_variation1.phpt108
-rw-r--r--ext/standard/tests/strings/highlight_file.phpt1
-rw-r--r--ext/standard/tests/strings/html_entity_decode1.phpt67
-rw-r--r--ext/standard/tests/strings/html_entity_decode2.phpt33
-rw-r--r--ext/standard/tests/strings/html_entity_decode3.phpt193
-rw-r--r--ext/standard/tests/strings/html_entity_decode_cp866.phpt533
-rw-r--r--ext/standard/tests/strings/html_entity_decode_html4.phpt504
-rw-r--r--ext/standard/tests/strings/html_entity_decode_html5.phpt4264
-rw-r--r--ext/standard/tests/strings/html_entity_decode_iso8859-15.phpt405
-rw-r--r--ext/standard/tests/strings/html_entity_decode_iso8859-5.phpt405
-rw-r--r--ext/standard/tests/strings/html_entity_decode_koi8-r.phpt533
-rw-r--r--ext/standard/tests/strings/html_entity_decode_macroman.phpt540
-rw-r--r--ext/standard/tests/strings/html_entity_decode_win1251.phpt537
-rw-r--r--ext/standard/tests/strings/html_entity_decode_win1252.phpt169
-rw-r--r--ext/standard/tests/strings/htmlentities.phpt10
-rw-r--r--ext/standard/tests/strings/htmlentities04.phpt3
-rw-r--r--ext/standard/tests/strings/htmlentities05.phpt9
-rw-r--r--ext/standard/tests/strings/htmlentities06.phpt7
-rw-r--r--ext/standard/tests/strings/htmlentities07.phpt8
-rw-r--r--ext/standard/tests/strings/htmlentities08.phpt9
-rw-r--r--ext/standard/tests/strings/htmlentities09.phpt9
-rw-r--r--ext/standard/tests/strings/htmlentities13.phpt5
-rw-r--r--ext/standard/tests/strings/htmlentities14.phpt5
-rw-r--r--ext/standard/tests/strings/htmlentities15.phpt5
-rw-r--r--ext/standard/tests/strings/htmlentities16.phpt12
-rw-r--r--ext/standard/tests/strings/htmlentities18.phpt4
-rw-r--r--ext/standard/tests/strings/htmlentities19.phpt30
-rw-r--r--ext/standard/tests/strings/htmlentities20.phpt199
-rw-r--r--ext/standard/tests/strings/htmlentities21.phpt198
-rw-r--r--ext/standard/tests/strings/htmlentities22.phpt283
-rw-r--r--ext/standard/tests/strings/htmlentities23.phpt95
-rw-r--r--ext/standard/tests/strings/htmlentities24.phpt (renamed from ext/standard/tests/file/htmlentities19.phpt)12
-rw-r--r--ext/standard/tests/strings/htmlentities_html5.phpt1623
-rw-r--r--ext/standard/tests/strings/htmlspecialchars.phpt (renamed from ext/standard/tests/file/htmlspecialchars.phpt)0
-rw-r--r--ext/standard/tests/strings/htmlspecialchars_decode_variation7.phpt192
-rw-r--r--ext/standard/tests/strings/md5_file.phptbin2837 -> 2849 bytes
-rw-r--r--ext/standard/tests/strings/nl_langinfo_variation1.phpt104
-rw-r--r--ext/standard/tests/strings/parse_str_basic3.phptbin5243 -> 5141 bytes
-rw-r--r--ext/standard/tests/strings/print_variation1.phpt6
-rw-r--r--ext/standard/tests/strings/sha1_file.phpt4
-rw-r--r--ext/standard/tests/strings/stripslashes_variation5.phptbin8397 -> 0 bytes
-rw-r--r--ext/standard/tests/strings/strrchr_variation5.phpt12
-rw-r--r--ext/standard/tests/strings/strspn_variation6.phpt10
-rw-r--r--ext/standard/tests/strings/strtok_variation6.phpt2
-rw-r--r--ext/standard/tests/strings/strtolower.phptbin5049 -> 3889 bytes
-rw-r--r--ext/standard/tests/strings/strtoupper1.phptbin5060 -> 3900 bytes
-rw-r--r--ext/standard/tests/strings/strval.phpt4
-rw-r--r--ext/standard/tests/strings/substr_compare.phpt2
-rwxr-xr-x[-rw-r--r--]ext/standard/tests/time/bug60222.phpt0
-rw-r--r--ext/standard/tests/time/strptime_basic.phpt1
-rw-r--r--ext/standard/tests/time/strptime_parts.phpt76
-rw-r--r--ext/standard/tests/url/base64_encode_variation_001.phpt5
-rw-r--r--ext/standard/tests/url/parse_url_variation_001.phpt5
-rw-r--r--ext/standard/tests/url/parse_url_variation_002_32bit.phpt5
-rw-r--r--ext/standard/tests/url/parse_url_variation_002_64bit.phpt5
-rw-r--r--ext/standard/tests/url/rawurldecode_variation_001.phpt5
-rw-r--r--ext/standard/tests/url/rawurlencode_variation_001.phpt5
-rw-r--r--ext/standard/tests/url/urldecode_variation_001.phpt5
-rw-r--r--ext/standard/tests/url/urlencode_variation_001.phpt5
-rw-r--r--ext/standard/type.c7
-rw-r--r--ext/standard/url.c2
-rw-r--r--ext/standard/url.h3
-rw-r--r--ext/standard/url_scanner_ex.c12
-rw-r--r--ext/standard/url_scanner_ex.re10
-rw-r--r--ext/standard/user_filters.c5
-rw-r--r--ext/standard/var.c83
-rw-r--r--ext/standard/var_unserializer.c144
-rw-r--r--ext/standard/var_unserializer.re80
-rwxr-xr-xext/standard/winver.h9
-rw-r--r--ext/sybase_ct/php_sybase_ct.c25
-rw-r--r--ext/sysvmsg/sysvmsg.c2
-rw-r--r--ext/sysvmsg/tests/006.phpt2
-rw-r--r--ext/sysvsem/tests/sysv.phpt2
-rw-r--r--ext/tidy/php_tidy.h1
-rw-r--r--ext/tidy/tests/019.phpt2
-rw-r--r--ext/tidy/tests/022.phpt2
-rw-r--r--ext/tidy/tidy.c307
-rw-r--r--ext/tokenizer/tests/bug54089.phpt274
-rw-r--r--ext/tokenizer/tests/token_get_all_basic.phpt18
-rw-r--r--ext/tokenizer/tests/token_get_all_error.phpt2
-rw-r--r--ext/tokenizer/tests/token_get_all_variation1.phpt26
-rw-r--r--ext/tokenizer/tests/token_get_all_variation10.phpt148
-rw-r--r--ext/tokenizer/tests/token_get_all_variation11.phpt238
-rw-r--r--ext/tokenizer/tests/token_get_all_variation12.phpt223
-rw-r--r--ext/tokenizer/tests/token_get_all_variation13.phpt228
-rw-r--r--ext/tokenizer/tests/token_get_all_variation14.phpt56
-rw-r--r--ext/tokenizer/tests/token_get_all_variation15.phpt154
-rw-r--r--ext/tokenizer/tests/token_get_all_variation16.phpt47
-rw-r--r--ext/tokenizer/tests/token_get_all_variation17.phpt114
-rw-r--r--ext/tokenizer/tests/token_get_all_variation18.phpt18
-rw-r--r--ext/tokenizer/tests/token_get_all_variation19.phpt2
-rw-r--r--ext/tokenizer/tests/token_get_all_variation2.phpt82
-rw-r--r--ext/tokenizer/tests/token_get_all_variation3.phpt112
-rw-r--r--ext/tokenizer/tests/token_get_all_variation4.phpt154
-rw-r--r--ext/tokenizer/tests/token_get_all_variation5.phpt150
-rw-r--r--ext/tokenizer/tests/token_get_all_variation6.phpt88
-rw-r--r--ext/tokenizer/tests/token_get_all_variation7.phpt54
-rw-r--r--ext/tokenizer/tests/token_get_all_variation8.phpt180
-rw-r--r--ext/tokenizer/tests/token_get_all_variation9.phpt82
-rw-r--r--ext/tokenizer/tokenizer.c37
-rw-r--r--ext/tokenizer/tokenizer_data.c8
-rwxr-xr-xext/tokenizer/tokenizer_data_gen.sh2
-rw-r--r--ext/wddx/wddx.c4
-rw-r--r--ext/xml/config.w322
-rw-r--r--ext/xml/tests/utf8_decode_variation1.phpt2
-rw-r--r--ext/xml/tests/utf8_encode_variation1.phpt2
-rw-r--r--ext/xml/tests/xml001.phpt2
-rw-r--r--ext/xml/tests/xml002.phpt2
-rw-r--r--ext/xml/tests/xml003.phpt2
-rw-r--r--ext/xml/tests/xml004.phpt2
-rwxr-xr-xext/xml/tests/xml_closures_001.phpt2
-rw-r--r--ext/xml/tests/xml_error_string_variation1.phpt2
-rw-r--r--ext/xml/tests/xml_get_current_byte_index_variation1.phpt2
-rw-r--r--ext/xml/tests/xml_get_current_column_number_variation1.phpt2
-rw-r--r--ext/xml/tests/xml_get_current_line_number_variation1.phpt2
-rw-r--r--ext/xml/tests/xml_get_error_code_variation1.phpt2
-rw-r--r--ext/xml/tests/xml_parse_into_struct_variation1.phpt2
-rw-r--r--ext/xml/tests/xml_parse_variation1.phpt2
-rw-r--r--ext/xml/tests/xml_parser_create_ns_variation1.phpt2
-rw-r--r--ext/xml/tests/xml_parser_create_variation1.phpt2
-rw-r--r--ext/xml/tests/xml_parser_free_variation1.phpt2
-rw-r--r--ext/xml/tests/xml_parser_get_option_variation1.phpt2
-rw-r--r--ext/xml/tests/xml_parser_get_option_variation2.phpt2
-rw-r--r--ext/xml/tests/xml_parser_set_option_variation1.phpt2
-rw-r--r--ext/xml/tests/xml_parser_set_option_variation2.phpt2
-rw-r--r--ext/xml/tests/xml_parser_set_option_variation3.phpt2
-rw-r--r--ext/xml/tests/xml_set_character_data_handler_variation1.phpt2
-rw-r--r--ext/xml/tests/xml_set_default_handler_variation1.phpt2
-rw-r--r--ext/xml/tests/xml_set_element_handler_variation1.phpt2
-rw-r--r--ext/xml/tests/xml_set_end_namespace_decl_handler_variation1.phpt2
-rw-r--r--ext/xml/tests/xml_set_external_entity_ref_handler_variation1.phpt2
-rw-r--r--ext/xml/tests/xml_set_notation_decl_handler_variation1.phpt2
-rw-r--r--ext/xml/tests/xml_set_object_variation1.phpt2
-rw-r--r--ext/xml/tests/xml_set_object_variation2.phpt2
-rw-r--r--ext/xml/tests/xml_set_processing_instruction_handler_variation1.phpt2
-rw-r--r--ext/xml/tests/xml_set_start_namespace_decl_handler_variation1.phpt2
-rw-r--r--ext/xml/tests/xml_set_unparsed_entity_decl_handler_variation1.phpt2
-rw-r--r--ext/xml/xml.c102
-rw-r--r--ext/xmlreader/php_xmlreader.c26
-rw-r--r--ext/xmlwriter/php_xmlwriter.c6
-rw-r--r--ext/xsl/php_xsl.c7
-rw-r--r--ext/xsl/php_xsl.h2
-rw-r--r--ext/xsl/tests/bug54446.phpt95
-rw-r--r--ext/xsl/tests/bug54446_with_ini.phpt40
-rw-r--r--ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcnostring.phpt6
-rw-r--r--ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcundef.phpt6
-rw-r--r--ext/xsl/xsl_fe.h3
-rw-r--r--ext/xsl/xsltprocessor.c93
-rw-r--r--ext/zip/php_zip.c117
-rw-r--r--ext/zlib/CREDITS2
-rw-r--r--ext/zlib/config0.m49
-rw-r--r--ext/zlib/php_zlib.h52
-rw-r--r--ext/zlib/tests/001.phpt2
-rw-r--r--ext/zlib/tests/003.phpt2
-rw-r--r--ext/zlib/tests/004.phpt23
-rw-r--r--ext/zlib/tests/006.phpt2
-rw-r--r--ext/zlib/tests/007.phpt16
-rw-r--r--ext/zlib/tests/bug60761.phpt108
-rw-r--r--ext/zlib/tests/bug61287.phpt24
-rw-r--r--ext/zlib/tests/bug61443.phpt15
-rw-r--r--ext/zlib/tests/bug61820.phpt23
-rw-r--r--ext/zlib/tests/data.inc2
-rw-r--r--ext/zlib/tests/gzcompress_basic1.phpt6
-rw-r--r--ext/zlib/tests/gzcompress_error1.phpt28
-rw-r--r--ext/zlib/tests/gzcompress_variation1.phpt6
-rw-r--r--ext/zlib/tests/gzdeflate_basic1.phpt2
-rw-r--r--ext/zlib/tests/gzdeflate_error1.phpt18
-rw-r--r--ext/zlib/tests/gzencode_basic1.phpt27
-rw-r--r--ext/zlib/tests/gzencode_error1.phpt8
-rw-r--r--ext/zlib/tests/gzencode_variation1.phpt6
-rw-r--r--ext/zlib/tests/gzencode_variation2-win32.phpt40
-rw-r--r--ext/zlib/tests/gzencode_variation2.phpt8
-rw-r--r--ext/zlib/tests/gzfile_basic.phpt2
-rw-r--r--ext/zlib/tests/gzfile_basic2.phpt2
-rw-r--r--ext/zlib/tests/gzfile_variation1.phpt10
-rw-r--r--ext/zlib/tests/gzfile_variation6.phpt4
-rw-r--r--ext/zlib/tests/gzinflate-bug42663.phpt11
-rw-r--r--ext/zlib/tests/gzinflate_length.phpt2
-rw-r--r--ext/zlib/tests/gzreadgzwrite.phpt9
-rw-r--r--ext/zlib/tests/gzreadgzwriteplain.phpt15
-rw-r--r--ext/zlib/tests/gzuncompress_error1.phpt8
-rw-r--r--ext/zlib/tests/gzwrite_variation1.phpt2
-rw-r--r--ext/zlib/tests/ob_001.phpt20
-rw-r--r--ext/zlib/tests/ob_002.phpt18
-rw-r--r--ext/zlib/tests/ob_003.phpt23
-rw-r--r--ext/zlib/tests/ob_004.phpt24
-rw-r--r--ext/zlib/tests/ob_005.phpt22
-rw-r--r--ext/zlib/tests/ob_gzhandler_legacy_002.phpt24
-rw-r--r--ext/zlib/tests/readgzfile_variation14.phpt2
-rw-r--r--ext/zlib/tests/readgzfile_variation4.phpt9
-rw-r--r--ext/zlib/tests/readgzfile_variation5.phpt9
-rw-r--r--ext/zlib/tests/readgzfile_variation6.phpt1
-rw-r--r--ext/zlib/tests/readgzfile_variation7.phpt7
-rw-r--r--ext/zlib/tests/zlib_filter_inflate2.phpt4
-rw-r--r--ext/zlib/zlib.c1661
-rw-r--r--ext/zlib/zlib_filter.c25
-rw-r--r--ext/zlib/zlib_fopen_wrapper.c2
-rw-r--r--main/SAPI.c341
-rw-r--r--main/SAPI.h18
-rw-r--r--main/fopen_wrappers.c147
-rw-r--r--main/fopen_wrappers.h3
-rw-r--r--main/main.c443
-rw-r--r--main/network.c6
-rw-r--r--main/output.c1671
-rw-r--r--main/php.h32
-rw-r--r--main/php3_compat.h122
-rw-r--r--main/php_content_types.c6
-rw-r--r--main/php_globals.h20
-rw-r--r--main/php_ini.c63
-rw-r--r--main/php_logos.c2
-rw-r--r--main/php_main.h1
-rw-r--r--main/php_network.h5
-rw-r--r--main/php_open_temporary_file.c2
-rw-r--r--main/php_output.h299
-rwxr-xr-xmain/php_streams.h24
-rw-r--r--main/php_variables.c337
-rw-r--r--main/php_version.h8
-rw-r--r--main/rfc1867.c391
-rw-r--r--main/rfc1867.h15
-rw-r--r--main/safe_mode.c276
-rw-r--r--main/snprintf.c6
-rw-r--r--main/spprintf.c2
-rw-r--r--main/streams/cast.c2
-rwxr-xr-xmain/streams/glob_wrapper.c2
-rw-r--r--main/streams/memory.c18
-rw-r--r--main/streams/php_stream_context.h6
-rw-r--r--main/streams/plain_wrapper.c284
-rwxr-xr-xmain/streams/streams.c98
-rw-r--r--main/streams/userspace.c341
-rw-r--r--main/streams/xp_socket.c4
-rwxr-xr-xmakedist8
-rw-r--r--pear/Makefile.frag2
-rw-r--r--php.ini-development287
-rw-r--r--php.ini-production289
-rw-r--r--sapi/apache/mod_php5.c16
-rw-r--r--sapi/apache/php_apache.c19
-rw-r--r--sapi/apache2filter/php_functions.c4
-rw-r--r--sapi/apache2filter/sapi_apache2.c26
-rw-r--r--sapi/apache2handler/config.w3223
-rw-r--r--sapi/apache2handler/php_functions.c6
-rw-r--r--sapi/apache2handler/sapi_apache2.c36
-rw-r--r--sapi/apache_hooks/mod_php5.c29
-rw-r--r--sapi/apache_hooks/php_apache.c26
-rw-r--r--sapi/apache_hooks/sapi_apache.c10
-rw-r--r--sapi/cgi/Makefile.frag9
-rw-r--r--sapi/cgi/cgi_main.c686
-rw-r--r--sapi/cgi/config9.m432
-rw-r--r--sapi/cgi/fastcgi.c517
-rw-r--r--sapi/cgi/fastcgi.h45
-rw-r--r--sapi/cgi/tests/apache_request_headers.phpt51
-rw-r--r--sapi/cli/CREDITS2
-rw-r--r--sapi/cli/Makefile.frag8
-rw-r--r--sapi/cli/README4
-rw-r--r--sapi/cli/cli.h52
-rw-r--r--sapi/cli/config.m429
-rw-r--r--sapi/cli/config.w325
-rw-r--r--sapi/cli/php.1.in10
-rw-r--r--sapi/cli/php_cli.c608
-rw-r--r--sapi/cli/php_cli_server.c2424
-rw-r--r--sapi/cli/php_cli_server.h (renamed from ext/hash/php_hash_salsa.h)39
-rw-r--r--sapi/cli/php_http_parser.c1604
-rw-r--r--sapi/cli/php_http_parser.h174
-rw-r--r--sapi/cli/tests/007.phpt4
-rw-r--r--sapi/cli/tests/008.phpt4
-rw-r--r--sapi/cli/tests/009.phpt8
-rw-r--r--sapi/cli/tests/011.phpt4
-rw-r--r--sapi/cli/tests/012.phpt32
-rw-r--r--sapi/cli/tests/014.phpt4
-rw-r--r--sapi/cli/tests/016.phpt2
-rw-r--r--sapi/cli/tests/bug61977.phpt157
-rw-r--r--sapi/cli/tests/php_cli_server.inc62
-rw-r--r--sapi/cli/tests/php_cli_server_001.phpt16
-rw-r--r--sapi/cli/tests/php_cli_server_002.phpt20
-rw-r--r--sapi/cli/tests/php_cli_server_003.phpt18
-rw-r--r--sapi/cli/tests/php_cli_server_004.phpt48
-rw-r--r--sapi/cli/tests/php_cli_server_005.phpt71
-rw-r--r--sapi/cli/tests/php_cli_server_006.phpt42
-rw-r--r--sapi/cli/tests/php_cli_server_007.phpt40
-rw-r--r--sapi/cli/tests/php_cli_server_008.phpt68
-rw-r--r--sapi/cli/tests/php_cli_server_009.phpt93
-rw-r--r--sapi/cli/tests/php_cli_server_010.phpt75
-rw-r--r--sapi/cli/tests/php_cli_server_011.phpt41
-rw-r--r--sapi/cli/tests/php_cli_server_012.phpt55
-rw-r--r--sapi/cli/tests/php_cli_server_013.phpt108
-rw-r--r--sapi/cli/tests/php_cli_server_014.phpt80
-rw-r--r--sapi/cli/tests/php_cli_server_015.phpt49
-rw-r--r--sapi/cli/tests/php_cli_server_016.phpt46
-rw-r--r--sapi/cli/tests/php_cli_server_017.phpt44
-rw-r--r--sapi/continuity/capi.c3
-rw-r--r--sapi/embed/config.w321
-rw-r--r--sapi/embed/php_embed.c2
-rw-r--r--sapi/fpm/Makefile.frag13
-rw-r--r--sapi/fpm/config.m420
-rw-r--r--sapi/fpm/fpm/fpm_main.c41
-rw-r--r--sapi/fpm/fpm/fpm_status.c3
-rw-r--r--sapi/fpm/php-fpm.conf.in4
-rw-r--r--sapi/litespeed/Makefile.frag8
-rw-r--r--sapi/litespeed/config.m49
-rw-r--r--sapi/milter/Makefile.frag8
-rw-r--r--sapi/milter/config.m43
-rw-r--r--sapi/milter/php_milter.c12
-rw-r--r--sapi/nsapi/nsapi.c43
-rw-r--r--sapi/phttpd/phttpd.c8
-rw-r--r--scripts/php-config.in1
-rw-r--r--scripts/phpize.in1
-rw-r--r--scripts/phpize.m45
-rw-r--r--tests/basic/011.phpt7
-rw-r--r--tests/basic/012.phpt7
-rw-r--r--tests/basic/022.phpt1
-rw-r--r--tests/basic/023.phpt2
-rw-r--r--tests/basic/024.phpt1
-rw-r--r--tests/basic/025.phpt1
-rw-r--r--tests/basic/026.phpt1
-rw-r--r--tests/basic/027.phpt1
-rw-r--r--tests/basic/028.phpt105
-rw-r--r--tests/basic/029.phpt51
-rw-r--r--tests/basic/bug46313-win.phpt65
-rw-r--r--tests/basic/bug46313.phpt63
-rw-r--r--tests/basic/bug46759.phpt20
-rw-r--r--tests/basic/bug51709_1.phpt2
-rw-r--r--tests/basic/bug51709_2.phpt2
-rw-r--r--tests/basic/bug54514.phpt12
-rw-r--r--tests/basic/enable_post_data_reading_01.phpt22
-rw-r--r--tests/basic/enable_post_data_reading_02.phpt28
-rw-r--r--tests/basic/enable_post_data_reading_03.phpt23
-rw-r--r--tests/basic/enable_post_data_reading_04.phpt23
-rw-r--r--tests/basic/magic_quotes_gpc.phpt11
-rw-r--r--tests/basic/req44164.phpt17
-rwxr-xr-xtests/classes/array_access_010.phpt8
-rwxr-xr-xtests/classes/ctor_in_interface_01.phpt2
-rwxr-xr-xtests/classes/ctor_in_interface_02.phpt3
-rwxr-xr-xtests/classes/ctor_in_interface_03.phpt2
-rwxr-xr-xtests/classes/ctor_in_interface_04.phpt2
-rw-r--r--tests/classes/implicit_instantiation_001.phpt18
-rwxr-xr-xtests/classes/inheritance_003.phpt2
-rwxr-xr-xtests/classes/inheritance_004.phpt2
-rw-r--r--tests/classes/is_a.phpt378
-rw-r--r--tests/classes/method_override_optional_arg_001.phpt2
-rw-r--r--tests/classes/method_override_optional_arg_002.phpt2
-rwxr-xr-xtests/classes/type_hinting_003.phpt2
-rw-r--r--tests/classes/type_hinting_005a.phpt4
-rw-r--r--tests/classes/type_hinting_005b.phpt4
-rw-r--r--tests/classes/type_hinting_005c.phpt4
-rw-r--r--tests/classes/type_hinting_005d.phpt4
-rw-r--r--tests/lang/019.phpt2
-rw-r--r--tests/lang/array_shortcut_001.phpt13
-rw-r--r--tests/lang/array_shortcut_002.phpt13
-rw-r--r--tests/lang/array_shortcut_003.phpt13
-rw-r--r--tests/lang/array_shortcut_005.phpt20
-rw-r--r--tests/lang/bug19943.phpt4
-rw-r--r--tests/lang/bug21820.phpt4
-rwxr-xr-xtests/lang/bug29566.phpt2
-rwxr-xr-xtests/lang/bug35176.phpt5
-rw-r--r--tests/lang/bug55754.phpt14
-rw-r--r--tests/lang/bug7515.phpt3
-rw-r--r--tests/lang/engine_assignExecutionOrder_008.phpt14
-rw-r--r--tests/lang/foreachLoop.016.phpt10
-rw-r--r--tests/lang/short_tags.004.phpt10
-rw-r--r--tests/output/bug46897.phpt4
-rw-r--r--tests/output/bug60282.phpt12
-rw-r--r--tests/output/bug60321.phpt9
-rw-r--r--tests/output/bug60322.phpt8
-rw-r--r--tests/output/bug60768.phpt25
-rw-r--r--tests/output/ob_013.phpt72
-rw-r--r--tests/output/ob_017.phpt12
-rw-r--r--tests/output/ob_get_clean_basic_001.phpt2
-rw-r--r--tests/output/ob_get_status.phpt23
-rw-r--r--tests/output/ob_start_basic_004.phpt18
-rw-r--r--tests/output/ob_start_basic_005.phpt4
-rw-r--r--tests/output/ob_start_basic_006.phpt51
-rw-r--r--tests/output/ob_start_basic_unerasable_002.phpt8
-rw-r--r--tests/output/ob_start_basic_unerasable_003.phpt9
-rw-r--r--tests/output/ob_start_basic_unerasable_004.phpt9
-rw-r--r--tests/output/ob_start_basic_unerasable_005.phpt4
-rw-r--r--tests/output/ob_start_error_001.phpt11
-rw-r--r--tests/output/ob_start_error_002.phpt17
-rw-r--r--tests/output/ob_start_error_003.phpt6
-rw-r--r--tests/output/ob_start_error_004.phpt6
-rw-r--r--tests/security/magic_quotes_gpc.phpt13
-rw-r--r--tests/security/open_basedir_linkinfo.phpt11
-rw-r--r--tests/security/open_basedir_readlink.phpt8
-rw-r--r--tests/strings/004.phpt1
-rw-r--r--tests/strings/bug26703.phpt1
-rw-r--r--tests/strings/offsets_chaining_1.phpt3
-rw-r--r--tests/strings/offsets_chaining_2.phpt3
-rw-r--r--tests/strings/offsets_chaining_3.phpt3
-rw-r--r--tests/strings/offsets_chaining_4.phpt3
-rw-r--r--tests/strings/offsets_chaining_5.phpt8
-rw-r--r--tests/strings/offsets_general.phpt11
-rw-r--r--win32/build/Makefile20
-rw-r--r--win32/build/config.w3244
-rw-r--r--win32/build/config.w32.h.in2
-rw-r--r--win32/build/config.w32.phpize.in7
-rw-r--r--win32/build/confutils.js16
-rw-r--r--win32/build/libs_version.txt1
-rw-r--r--win32/install.txt12
-rw-r--r--win32/php5dll.dsp4
-rw-r--r--win32/php5dllts.dsp4
-rw-r--r--win32/syslog.reg4
-rw-r--r--win32/winutil.c2
-rw-r--r--win32/winutil.h4
1982 files changed, 143270 insertions, 98561 deletions
diff --git a/.gdbinit b/.gdbinit
index 2445825..4a26d96 100644
--- a/.gdbinit
+++ b/.gdbinit
@@ -37,9 +37,60 @@ end
define dump_bt
set $t = $arg0
while $t
- printf "[0x%08x] ", $t
+ printf "[%p] ", $t
if $t->function_state.function->common.function_name
- printf "%s() ", $t->function_state.function->common.function_name
+ if $t->function_state.arguments
+ set $count = (int)*($t->function_state.arguments)
+ printf "%s(", $t->function_state.function->common.function_name
+ while $count > 0
+ set $zvalue = *(zval **)($t->function_state.arguments - $count)
+ set $type = $zvalue->type
+ if $type == 0
+ printf "NULL"
+ end
+ if $type == 1
+ printf "%ld", $zvalue->value.lval
+ end
+ if $type == 2
+ printf "%lf", $zvalue->value.dval
+ end
+ if $type == 3
+ if $zvalue->value.lval
+ printf "true"
+ else
+ printf "false"
+ end
+ end
+ if $type == 4
+ printf "array(%d)[%p]", $zvalue->value.ht->nNumOfElements, $zvalue
+ end
+ if $type == 5
+ printf "object[%p]", $zvalue
+ end
+ if $type == 6
+ ____print_str $zvalue->value.str.val $zvalue->value.str.len
+ end
+ if $type == 7
+ printf "resource(#%d)", $zvalue->value.lval
+ end
+ if $type == 8
+ printf "constant"
+ end
+ if $type == 9
+ printf "const_array"
+ end
+ if $type > 9
+ printf "unknown type %d", $type
+ end
+ set $count = $count -1
+ if $count > 0
+ printf ", "
+ end
+ end
+ printf ") "
+ else
+ printf "%s() ", $t->function_state.function->common.function_name
+ end
else
printf "??? "
end
@@ -167,7 +218,7 @@ define ____printzv
____executor_globals
set $zvalue = $arg0
- printf "[0x%08x] ", $zvalue
+ printf "[%p] ", $zvalue
if $zvalue == $eg.uninitialized_zval_ptr
printf "*uninitialized* "
@@ -208,7 +259,7 @@ end
define print_const_table
set $ind = 1
- printf "[0x%08x] {\n", $arg0
+ printf "[%p] {\n", $arg0
____print_const_table $arg0
printf "}\n"
end
@@ -248,7 +299,7 @@ end
define print_ht
set $ind = 1
- printf "[0x%08x] {\n", $arg0
+ printf "[%p] {\n", $arg0
____print_ht $arg0 1
printf "}\n"
end
@@ -259,7 +310,7 @@ end
define print_htptr
set $ind = 1
- printf "[0x%08x] {\n", $arg0
+ printf "[%p] {\n", $arg0
____print_ht $arg0 0
printf "}\n"
end
@@ -270,7 +321,7 @@ end
define print_htstr
set $ind = 1
- printf "[0x%08x] {\n", $arg0
+ printf "[%p] {\n", $arg0
____print_ht $arg0 2
printf "}\n"
end
@@ -306,7 +357,7 @@ end
define print_ft
set $ind = 1
- printf "[0x%08x] {\n", $arg0
+ printf "[%p] {\n", $arg0
____print_ft $arg0
printf "}\n"
end
@@ -383,7 +434,7 @@ end
define print_pi
set $pi = $arg0
- printf "[0x%08x] {\n", $pi
+ printf "[%p] {\n", $pi
printf " h = %lu\n", $pi->h
printf " flags = %d (", $pi->flags
if $pi->flags & 0x100
@@ -439,7 +490,7 @@ define printzn
set $optype = "IS_UNUSED"
end
- printf "[0x%08x] %s", $znode, $optype
+ printf "[%p] %s", $znode, $optype
if $znode->op_type == 1
printf ": "
@@ -519,7 +570,7 @@ define zmemcheck
else
set $filename = $filename + 1
end
- printf " 0x%08x ", $aptr
+ printf " %p ", $aptr
if $p->size == sizeof(struct _zval_struct) && ((struct _zval_struct *)$aptr)->type >= 0 && ((struct _zval_struct *)$aptr)->type < 10
printf "ZVAL?(%-2d) ", $p->size
else
@@ -549,7 +600,7 @@ define zmemcheck
end
end
if $not_found
- printf "no such block that begins at 0x%08x.\n", $aptr
+ printf "no such block that begins at %p.\n", $aptr
end
if $arg0 == 0
printf "-------------------------------------------------------------------------------\n"
diff --git a/.gitattributes b/.gitattributes
index d53e569..1f4a719 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -22,152 +22,153 @@ sapi/continuity/capi.c ident
Zend/RFCs/002.txt ident
Zend/RFCs/003.txt ident
NEWS merge=NEWS
-/ext/bz2/tests/005.phpt -crlf
-/ext/dom/tests/dom005.phpt -crlf
-/ext/dom/tests/DOMImplementation_createDocumentType_basic.phpt -crlf
-/ext/ereg/tests/009.phpt -crlf
-/ext/iconv/tests/eucjp2sjis.phpt -crlf
-/ext/iconv/tests/eucjp2utf8.phpt -crlf
-/ext/iconv/tests/iconv_stream_filter_delimiter.phpt -crlf
-/ext/iconv/tests/iconv_stream_filter.phpt -crlf
-/ext/mbstring/tests/mb_split-compat-01.phpt -crlf
-/ext/phar/tests/005.phpt -crlf
-/ext/phar/tests/phar_commitwrite.phpt -crlf
-/ext/phar/tests/phar_create_in_cwd.phpt -crlf
-/ext/phar/tests/phar_mount.phpt -crlf
-/ext/reflection/tests/009.phpt -crlf
-/ext/reflection/tests/025.phpt -crlf
-/ext/standard/tests/general_functions/highlight_heredoc.phpt -crlf
-/ext/standard/tests/general_functions/parse_ini_file.phpt -crlf
-/ext/standard/tests/general_functions/parse_ini_string_002.phpt -crlf
-/ext/standard/tests/strings/006.phpt -crlf
-/ext/standard/tests/strings/addslashes_variation2.phpt -crlf
-/ext/standard/tests/strings/addslashes_variation3.phpt -crlf
-/ext/standard/tests/strings/bug21453.phpt -crlf
-/ext/standard/tests/strings/chop_variation3.phpt -crlf
-/ext/standard/tests/strings/chunk_split_variation11.phpt -crlf
-/ext/standard/tests/strings/chunk_split_variation12.phpt -crlf
-/ext/standard/tests/strings/chunk_split_variation4.phpt -crlf
-/ext/standard/tests/strings/crc32_variation2.phpt -crlf
-/ext/standard/tests/strings/crc32_variation3.phpt -crlf
-/ext/standard/tests/strings/crc32_variation4.phpt -crlf
+/ext/bz2/tests/with_strings.phpt -crlf
+/ext/dom/tests/bug40836.phpt -crlf
+/ext/dom/tests/domelement.phpt -crlf
+/ext/ereg/tests/eregi_basic_002.phpt -crlf
+/ext/iconv/tests/iconv004.phpt -crlf
+/ext/iconv/tests/iconv_basic.phpt -crlf
+/ext/iconv/tests/iconv_strpos.phpt -crlf
+/ext/iconv/tests/iconv_strpos_variation2.phpt -crlf
+/ext/mbstring/tests/mb_strtoupper_error2.phpt -crlf
+/ext/phar/tests/delete_in_phar_confirm.phpt -crlf
+/ext/phar/tests/frontcontroller12.phpt -crlf
+/ext/phar/tests/security.phpt -crlf
+/ext/phar/tests/test_signaturealgos.phpt -crlf
+/ext/reflection/tests/ReflectionMethod_invokeArgs_basic.phpt -crlf
+/ext/reflection/tests/ReflectionProperty_getModifiers_basic.phpt -crlf
+/ext/spl/tests/dllist_007.phpt -crlf
+/ext/spl/tests/iterator_012.phpt -crlf
+/ext/spl/tests/SplArray_fromArray.phpt -crlf
+/ext/standard/tests/dir/scandir_variation3.phpt -crlf
+/ext/standard/tests/general_functions/escapeshellcmd-win32.phpt -crlf
+/ext/standard/tests/general_functions/set_magic_quotes_runtime_error.phpt -crlf
+/ext/standard/tests/strings/bug26817.phpt -crlf
+/ext/standard/tests/strings/bug26973.phpt -crlf
+/ext/standard/tests/strings/bug27457.phpt -crlf
+/ext/standard/tests/strings/bug28386.phpt -crlf
+/ext/standard/tests/strings/bug37262.phpt -crlf
+/ext/standard/tests/strings/bug40637.phpt -crlf
+/ext/standard/tests/strings/bug40915.phpt -crlf
+/ext/standard/tests/strings/bug61374.phpt -crlf
+/ext/standard/tests/strings/chop_error.phpt -crlf
+/ext/standard/tests/strings/chop_variation2.phpt -crlf
+/ext/standard/tests/strings/chunk_split_variation10.phpt -crlf
+/ext/standard/tests/strings/chunk_split_variation8.phpt -crlf
+/ext/standard/tests/strings/count_chars_variation2.phpt -crlf
+/ext/standard/tests/strings/dirname_error.phpt -crlf
+/ext/standard/tests/strings/fprintf_variation_007_64bit.phpt -crlf
/ext/standard/tests/strings/highlight_file.phpt -crlf
-/ext/standard/tests/strings/htmlentities_html4.phpt -crlf
-/ext/standard/tests/strings/lcfirst.phpt -crlf
-/ext/standard/tests/strings/ltrim.phpt -crlf
-/ext/standard/tests/strings/nl2br_variation2.phpt -crlf
-/ext/standard/tests/strings/php_strip_whitespace.phpt -crlf
+/ext/standard/tests/strings/htmlentities03.phpt -crlf
+/ext/standard/tests/strings/htmlentities04.phpt -crlf
+/ext/standard/tests/strings/htmlentities08.phpt -crlf
+/ext/standard/tests/strings/htmlentities15.phpt -crlf
+/ext/standard/tests/strings/http_build_query.phpt -crlf
+/ext/standard/tests/strings/metaphone.phpt -crlf
+/ext/standard/tests/strings/ord_error.phpt -crlf
+/ext/standard/tests/strings/printf_basic2.phpt -crlf
+/ext/standard/tests/strings/printf_variation2.phpt -crlf
+/ext/standard/tests/strings/quoted_printable_decode_basic.phpt -crlf
/ext/standard/tests/strings/rtrim.phpt -crlf
-/ext/standard/tests/strings/sprintf_f_2.phpt -crlf
-/ext/standard/tests/strings/sprintf_variation15.phpt -crlf
-/ext/standard/tests/strings/strcspn_variation6.phpt -crlf
-/ext/standard/tests/strings/strcspn_variation7.phpt -crlf
-/ext/standard/tests/strings/strcspn_variation8.phpt -crlf
-/ext/standard/tests/strings/stripos_variation1.phpt -crlf
-/ext/standard/tests/strings/stripos_variation3.phpt -crlf
-/ext/standard/tests/strings/stripos_variation4.phpt -crlf
-/ext/standard/tests/strings/stripos_variation5.phpt -crlf
-/ext/standard/tests/strings/stripos_variation6.phpt -crlf
+/ext/standard/tests/strings/setlocale_variation1.phpt -crlf
+/ext/standard/tests/strings/sha1_basic.phpt -crlf
+/ext/standard/tests/strings/similar_text_basic.phpt -crlf
+/ext/standard/tests/strings/soundex.phpt -crlf
+/ext/standard/tests/strings/sprintf_basic1.phpt -crlf
+/ext/standard/tests/strings/sprintf_basic4.phpt -crlf
+/ext/standard/tests/strings/sprintf_basic7.phpt -crlf
+/ext/standard/tests/strings/sprintf_variation12.phpt -crlf
+/ext/standard/tests/strings/sprintf_variation28.phpt -crlf
+/ext/standard/tests/strings/sprintf_variation29.phpt -crlf
+/ext/standard/tests/strings/sprintf_variation30.phpt -crlf
+/ext/standard/tests/strings/sprintf_variation31.phpt -crlf
+/ext/standard/tests/strings/sprintf_variation38.phpt -crlf
+/ext/standard/tests/strings/sprintf_variation42.phpt -crlf
+/ext/standard/tests/strings/sprintf_variation6.phpt -crlf
+/ext/standard/tests/strings/sscanf_basic2.phpt -crlf
+/ext/standard/tests/strings/sscanf_basic3.phpt -crlf
+/ext/standard/tests/strings/str_getcsv_001.phpt -crlf
+/ext/standard/tests/strings/stripcslashes_basic.phpt -crlf
+/ext/standard/tests/strings/stripos_variation11.phpt -crlf
+/ext/standard/tests/strings/stripos_variation13.phpt -crlf
+/ext/standard/tests/strings/stripslashes_variation1.phpt -crlf
/ext/standard/tests/strings/stripslashes_variation2.phpt -crlf
-/ext/standard/tests/strings/stripslashes_variation3.phpt -crlf
-/ext/standard/tests/strings/stripslashes_variation4.phpt -crlf
-/ext/standard/tests/strings/stripslashes_variation5.phpt -crlf
-/ext/standard/tests/strings/str_ireplace.phpt -crlf
-/ext/standard/tests/strings/strnatcmp_basic.phpt -crlf
-/ext/standard/tests/strings/strncasecmp_variation9.phpt -crlf
-/ext/standard/tests/strings/strpos.phpt -crlf
-/ext/standard/tests/strings/strrchr_variation1.phpt -crlf
-/ext/standard/tests/strings/strrchr_variation2.phpt -crlf
-/ext/standard/tests/strings/strrchr_variation3.phpt -crlf
-/ext/standard/tests/strings/strrchr_variation4.phpt -crlf
-/ext/standard/tests/strings/strrchr_variation6.phpt -crlf
-/ext/standard/tests/strings/strrchr_variation7.phpt -crlf
-/ext/standard/tests/strings/str_replace.phpt -crlf
-/ext/standard/tests/strings/strrev_variation3.phpt -crlf
-/ext/standard/tests/strings/strrev_variation4.phpt -crlf
-/ext/standard/tests/strings/strripos_variation1.phpt -crlf
-/ext/standard/tests/strings/strripos_variation2.phpt -crlf
-/ext/standard/tests/strings/strripos_variation3.phpt -crlf
-/ext/standard/tests/strings/strripos_variation4.phpt -crlf
-/ext/standard/tests/strings/strripos_variation5.phpt -crlf
-/ext/standard/tests/strings/strrpos_variation1.phpt -crlf
-/ext/standard/tests/strings/strrpos_variation2.phpt -crlf
-/ext/standard/tests/strings/strrpos_variation3.phpt -crlf
+/ext/standard/tests/strings/stristr_error.phpt -crlf
+/ext/standard/tests/strings/strnatcasecmp_basic.phpt -crlf
+/ext/standard/tests/strings/strncasecmp_variation6.phpt -crlf
+/ext/standard/tests/strings/strncasecmp_variation7.phpt -crlf
+/ext/standard/tests/strings/strncasecmp_variation8.phpt -crlf
+/ext/standard/tests/strings/strrchr_error.phpt -crlf
+/ext/standard/tests/strings/strrchr.phpt -crlf
+/ext/standard/tests/strings/strrchr_variation11.phpt -crlf
+/ext/standard/tests/strings/strrpos_error.phpt -crlf
/ext/standard/tests/strings/strrpos_variation4.phpt -crlf
-/ext/standard/tests/strings/strrpos_variation5.phpt -crlf
-/ext/standard/tests/strings/strrpos_variation6.phpt -crlf
-/ext/standard/tests/strings/strspn_variation5.phpt -crlf
-/ext/standard/tests/strings/strspn_variation6.phpt -crlf
-/ext/standard/tests/strings/strspn_variation7.phpt -crlf
-/ext/standard/tests/strings/strspn_variation8.phpt -crlf
-/ext/standard/tests/strings/strstr.phpt -crlf
-/ext/standard/tests/strings/strtok_variation1.phpt -crlf
-/ext/standard/tests/strings/strtok_variation3.phpt -crlf
-/ext/standard/tests/strings/strtr_variation1.phpt -crlf
-/ext/standard/tests/strings/strtr_variation2.phpt -crlf
-/ext/standard/tests/strings/str_word_count.phpt -crlf
-/ext/standard/tests/strings/trim1.phpt -crlf
-/ext/standard/tests/strings/ucfirst.phpt -crlf
-/ext/standard/tests/strings/vfprintf_variation10.phpt -crlf
+/ext/standard/tests/strings/strrpos_variation8.phpt -crlf
+/ext/standard/tests/strings/strstr2.phpt -crlf
+/ext/standard/tests/strings/strtok_error.phpt -crlf
+/ext/standard/tests/strings/strtok_variation2.phpt -crlf
+/ext/standard/tests/strings/strtolower-win32.phpt -crlf
+/ext/standard/tests/strings/substr_compare.phpt -crlf
+/ext/standard/tests/strings/ucwords_variation1.phpt -crlf
+/ext/standard/tests/strings/unpack.phpt -crlf
+/ext/standard/tests/strings/vfprintf_basic7_64bit.phpt -crlf
+/ext/standard/tests/strings/vfprintf_variation11_64bit.phpt -crlf
+/ext/standard/tests/strings/vfprintf_variation12_64bit.phpt -crlf
/ext/standard/tests/strings/vfprintf_variation12.phpt -crlf
-/ext/standard/tests/strings/vfprintf_variation16.phpt -crlf
-/ext/standard/tests/strings/vfprintf_variation18.phpt -crlf
-/ext/standard/tests/strings/vfprintf_variation4.phpt -crlf
-/ext/standard/tests/strings/vfprintf_variation6.phpt -crlf
+/ext/standard/tests/strings/vfprintf_variation13_64bit.phpt -crlf
/ext/standard/tests/strings/vfprintf_variation7.phpt -crlf
-/ext/standard/tests/strings/vfprintf_variation8.phpt -crlf
+/ext/standard/tests/strings/vprintf_basic2.phpt -crlf
+/ext/standard/tests/strings/vprintf_basic7_64bit.phpt -crlf
/ext/standard/tests/strings/vprintf_variation10.phpt -crlf
-/ext/standard/tests/strings/vprintf_variation12.phpt -crlf
-/ext/standard/tests/strings/vprintf_variation14.phpt -crlf
-/ext/standard/tests/strings/vprintf_variation18.phpt -crlf
+/ext/standard/tests/strings/vprintf_variation14_64bit.phpt -crlf
+/ext/standard/tests/strings/vprintf_variation17.phpt -crlf
/ext/standard/tests/strings/vprintf_variation4.phpt -crlf
-/ext/standard/tests/strings/vprintf_variation6.phpt -crlf
-/ext/standard/tests/strings/vprintf_variation7.phpt -crlf
-/ext/standard/tests/strings/vprintf_variation8.phpt -crlf
-/ext/standard/tests/strings/vsprintf_variation10.phpt -crlf
-/ext/standard/tests/strings/vsprintf_variation12.phpt -crlf
-/ext/standard/tests/strings/vsprintf_variation14.phpt -crlf
-/ext/standard/tests/strings/vsprintf_variation16.phpt -crlf
-/ext/standard/tests/strings/vsprintf_variation4.phpt -crlf
-/ext/standard/tests/strings/vsprintf_variation6.phpt -crlf
+/ext/standard/tests/strings/vsprintf_basic4.phpt -crlf
+/ext/standard/tests/strings/vsprintf_basic8.phpt -crlf
+/ext/standard/tests/strings/vsprintf_variation12_64bit.phpt -crlf
+/ext/standard/tests/strings/vsprintf_variation13_64bit.phpt -crlf
+/ext/standard/tests/strings/vsprintf_variation15_64bit.phpt -crlf
+/ext/standard/tests/strings/vsprintf_variation17.phpt -crlf
+/ext/standard/tests/strings/vsprintf_variation4_64bit.phpt -crlf
/ext/standard/tests/strings/vsprintf_variation7.phpt -crlf
-/ext/standard/tests/strings/vsprintf_variation8.phpt -crlf
/ext/standard/tests/strings/wordwrap.phpt -crlf
-/ext/tidy/tests/010.phpt -crlf
-/ext/tidy/tests/012.phpt -crlf
-/ext/tidy/tests/025.phpt -crlf
-/ext/tidy/tests/030.phpt -crlf
+/ext/standard/tests/strings/wordwrap_variation5.phpt -crlf
+/ext/standard/tests/url/rawurldecode_variation_001.phpt -crlf
+/ext/tidy/tests/009.phpt -crlf
+/ext/tidy/tests/013.phpt -crlf
+/ext/tidy/tests/021.phpt -crlf
+/ext/tidy/tests/tidy_error.phpt -crlf
+/ext/tokenizer/tests/002.phpt -crlf
/ext/tokenizer/tests/bug26463.phpt -crlf
+/ext/tokenizer/tests/token_get_all_error.phpt -crlf
+/ext/tokenizer/tests/token_get_all_variation11.phpt -crlf
/ext/tokenizer/tests/token_get_all_variation12.phpt -crlf
/ext/tokenizer/tests/token_get_all_variation13.phpt -crlf
/ext/tokenizer/tests/token_get_all_variation14.phpt -crlf
/ext/tokenizer/tests/token_get_all_variation15.phpt -crlf
-/ext/tokenizer/tests/token_get_all_variation16.phpt -crlf
-/ext/tokenizer/tests/token_get_all_variation17.phpt -crlf
/ext/tokenizer/tests/token_get_all_variation18.phpt -crlf
/ext/tokenizer/tests/token_get_all_variation19.phpt -crlf
-/ext/tokenizer/tests/token_get_all_variation4.phpt -crlf
+/ext/tokenizer/tests/token_get_all_variation1.phpt -crlf
+/ext/tokenizer/tests/token_get_all_variation2.phpt -crlf
+/ext/tokenizer/tests/token_get_all_variation3.phpt -crlf
/ext/tokenizer/tests/token_get_all_variation5.phpt -crlf
-/ext/tokenizer/tests/token_get_all_variation6.phpt -crlf
-/ext/tokenizer/tests/token_get_all_variation7.phpt -crlf
/ext/tokenizer/tests/token_get_all_variation8.phpt -crlf
-/ext/tokenizer/tests/token_get_all_variation9.phpt -crlf
-/ext/xml/tests/bug26614_libxml.phpt -crlf
-/ext/xmlwriter/tests/004.phpt -crlf
-/ext/xmlwriter/tests/OO_004.phpt -crlf
-/ext/zlib/tests/005.phpt -crlf
-/ext/zlib/tests/gzfile_basic2.phpt -crlf
-/ext/zlib/tests/gzfile_basic.phpt -crlf
-/ext/zlib/tests/gzfilegzreadfile.phpt -crlf
-/ext/zlib/tests/readgzfile_basic2.phpt -crlf
-/ext/zlib/tests/readgzfile_basic.phpt -crlf
-/sapi/cli/tests/014.phpt -crlf
-/tests/run-test/test010.phpt -crlf
-/Zend/tests/bug35655.phpt -crlf
-/Zend/tests/bug48930.phpt -crlf
-/Zend/tests/bug61095.phpt -crlf
-/Zend/tests/heredoc_017.phpt -crlf
-/Zend/tests/heredoc_018.phpt -crlf
-/Zend/tests/nowdoc_013.phpt -crlf
-/Zend/tests/nowdoc_014.phpt -crlf
-/Zend/tests/nowdoc_015.phpt -crlf
+/ext/xml/tests/bug32001b.phpt -crlf
+/ext/xmlwriter/tests/OO_003.phpt -crlf
+/ext/xmlwriter/tests/xmlwriter_write_attribute_ns_error_001.phpt -crlf
+/ext/zlib/tests/008.phpt -crlf
+/ext/zlib/tests/gzopen_variation4.phpt -crlf
+/ext/zlib/tests/gzrewind_error.phpt -crlf
+/ext/zlib/tests/readgzfile_variation7.phpt -crlf
+/ext/zlib/tests/readgzfile_variation8.phpt -crlf
+/ext/zlib/tests/zlib_scheme_stat_basic.phpt -crlf
+/sapi/cli/tests/006.phpt -crlf
+/tests/run-test/test009.phpt -crlf
+/Zend/tests/012.phpt -crlf
+/Zend/tests/bug28072.phpt -crlf
+/Zend/tests/bug38624.phpt -crlf
+/Zend/tests/bug40784.phpt -crlf
+/Zend/tests/bug43053.phpt -crlf
+/Zend/tests/bug51176.phpt -crlf
+/Zend/tests/each_003.phpt -crlf
+/Zend/tests/errmsg_006.phpt -crlf
diff --git a/EXTENSIONS b/EXTENSIONS
index 2fa8052..5308582 100644
--- a/EXTENSIONS
+++ b/EXTENSIONS
@@ -497,8 +497,8 @@ STATUS: Working
SINCE: 4.0.3
-------------------------------------------------------------------------------
EXTENSION: snmp
-PRIMARY MAINTAINER: Rasmus Lerdorf <rasmus@php.net>, Pierre-Alain Joye <pajoye@php.net>
-MAINTENANCE: Odd Fixes
+PRIMARY MAINTAINER: Boris Lytochkin <lytboris@php.net>, Rasmus Lerdorf <rasmus@php.net>, Pierre-Alain Joye <pajoye@php.net>
+MAINTENANCE: Maintained
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: sockets
diff --git a/Makefile.global b/Makefile.global
index 8dad0e4..b30c318 100644
--- a/Makefile.global
+++ b/Makefile.global
@@ -13,6 +13,8 @@ all: $(all_targets)
build-modules: $(PHP_MODULES) $(PHP_ZEND_EX)
+build-binaries: $(PHP_BINARIES)
+
libphp$(PHP_MAJOR_VERSION).la: $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS)
$(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -rpath $(phptempdir) $(EXTRA_LDFLAGS) $(LDFLAGS) $(PHP_RPATHS) $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS) $(EXTRA_LIBS) $(ZEND_EXTRA_LIBS) -o $@
-@$(LIBTOOL) --silent --mode=install cp $@ $(phptempdir)/$@ >/dev/null 2>&1
@@ -35,6 +37,8 @@ install-sapi: $(OVERALL_TARGET)
fi
@$(INSTALL_IT)
+install-binaries: build-binaries $(install_binary_targets)
+
install-modules: build-modules
@test -d modules && \
$(mkinstalldirs) $(INSTALL_ROOT)$(EXTENSION_DIR)
@@ -79,7 +83,7 @@ PHP_TEST_SHARED_EXTENSIONS = ` \
. $$i; $(top_srcdir)/build/shtool echo -n -- " -d $(ZEND_EXT_TYPE)=$(top_builddir)/modules/$$dlname"; \
done; \
fi`
-PHP_DEPRECATED_DIRECTIVES_REGEX = '^(define_syslog_variables|register_(globals|long_arrays)?|safe_mode|magic_quotes_(gpc|runtime|sybase)?|(zend_)?extension(_debug)?(_ts)?)[\t\ ]*='
+PHP_DEPRECATED_DIRECTIVES_REGEX = '^(magic_quotes_(gpc|runtime|sybase)?|(zend_)?extension(_debug)?(_ts)?)[\t\ ]*='
test: all
-@if test ! -z "$(PHP_EXECUTABLE)" && test -x "$(PHP_EXECUTABLE)"; then \
diff --git a/NEWS b/NEWS
index 9d70ebd..31a6218 100644
--- a/NEWS
+++ b/NEWS
@@ -1,61 +1,713 @@
PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
-?? ??? 2012, PHP 5.3.15
-- Zend Engine:
- . Fixed bug #51094 (parse_ini_file() with INI_SCANNER_RAW cuts a value that
- includes a semi-colon). (Pierrick)
-
-- COM:
- . Fixed bug #62146 com_dotnet cannot be built shared. (Johannes)
+?? ??? 2012, PHP 5.4.5
- Core:
- . Fixed CVE-2012-2143. (Solar Designer)
+ . Fixed bug #61998 (Using traits with method aliases appears to result in
+ crash during execution). (Dmitry)
-- Fileinfo:
- . Fixed magic file regex support. (Felipe)
+- EXIF:
+ . Fixed information leak in ext exif (discovered by Martin Noga,
+ Matthew "j00ru" Jurczyk, Gynvael Coldwind)
-- FPM:
- . Fixed bug #61045 (fpm don't send error log to fastcgi clients). (fat)
+- FPM
+ . Fixed bug #62205 (php-fpm segfaults (null passed to strstr)). (fat)
+ . Fixed bug #62160 (Add process.priority to set nice(2) priorities). (fat)
+ . Fixed bug #62153 (when using unix sockets, multiples FPM instances
+ . Fixed bug #62033 (php-fpm exits with status 0 on some failures to start).
+ (fat)
+ . Fixed bug #61839 (Unable to cross-compile PHP with --enable-fpm). (fat)
. Fixed bug #61835 (php-fpm is not allowed to run as root). (fat)
. Fixed bug #61295 (php-fpm should not fail with commented 'user'
+ . Fixed bug #61218 (FPM drops connection while receiving some binary values
+ in FastCGI requests). (fat)
+ . Fixed bug #61045 (fpm don't send error log to fastcgi clients). (fat)
for non-root start). (fat)
. Fixed bug #61026 (FPM pools can listen on the same address). (fat)
- . Fixed bug #62033 (php-fpm exits with status 0 on some failures to start).
- (fat)
- . Fixed bug #62153 (when using unix sockets, multiples FPM instances
can be launched without errors). (fat)
- . Fixed bug #62160 (Add process.priority to set nice(2) priorities). (fat)
- . Fixed bug #61218 (FPM drops connection while receiving some binary values
- in FastCGI requests). (fat)
- . Fixed bug #62205 (php-fpm segfaults (null passed to strstr)). (fat)
-- Intl:
+- Iconv:
+ . Fix bug #55042 (Erealloc in iconv.c unsafe). (Stas)
+
+- Intl
. Fixed bug #62083 (grapheme_extract() memory leaks). (Gustavo)
- . Fixed bug #62082 (memory corruption in internal get_icu_disp_value_src_php
- function). (Gustavo)
+ . ResourceBundle constructor now accepts NULL for the first two arguments.
+ (Gustavo)
. Fixed bug #62081 (IntlDateFormatter constructor leaks memory when called
twice). (Gustavo)
. Fixed bug #62070 (Collator::getSortKey() returns garbage). (Gustavo)
. Fixed bug #62017 (datefmt_create with incorrectly encoded timezone leaks
pattern). (Gustavo)
- . Fixed bug #60785 (memory leak in IntlDateFormatter constructor). (Gustavo)
-
-- Phar:
- . Fixed bug #62227 (Invalid phar stream path causes crash). (Felipe)
+
+- Readline:
+ . Fixed bug #62186 (readline fails to compile - void function should not
+ return a value). (Johannes)
- Reflection:
- . Fixed bug #62202 (ReflectionParameter::getDefaultValue() memory leaks
- with constant). (Laruence)
+ . Fixed bug #62202 (ReflectionParameter::getDefaultValue() memory leaks
+ with constant). (Laruence)
+- Sockets:
+ . Fixed bug #62025 (__ss_family was changed on AIX 5.3). (Felipe)
+
- XML Writer:
. Fixed bug #62064 (memory leak in the XML Writer module).
(jean-pierre dot lozi at lip6 dot fr)
- Zip:
. Upgraded libzip to 0.10.1 (Anatoliy)
-?? ??? 2012, PHP 5.3.14
+?? ??? 2012, PHP 5.4.4
+
+- COM:
+ . Fixed bug #62146 com_dotnet cannot be built shared. (Johannes)
+
+- CLI Server:
+ . Implemented FR #61977 (Need CLI web-server support for files with .htm &
+ svg extensions). (Sixd, Laruence)
+ . Improved performance while sending error page, this also fixed
+ bug #61785 (Memory leak when access a non-exists file without router).
+ (Laruence)
+ . Fixed bug #61546 (functions related to current script failed when chdir()
+ in cli sapi). (Laruence, reeze.xia@gmail.com)
+
+- CURL:
+ . Fixed bug #61948 (CURLOPT_COOKIEFILE '' raises open_basedir restriction).
+ (Laruence)
+
+- Core:
+ . Fixed missing bound check in iptcparse(). (chris at chiappa.net)
+ . Fixed CVE-2012-2143. (Solar Designer)
+ . Fixed bug #62097 (fix for for bug #54547). (Gustavo)
+ . Fixed bug #62005 (unexpected behavior when incrementally assigning to a
+ member of a null object). (Laruence)
+ . Fixed bug #61978 (Object recursion not detected for classes that implement
+ JsonSerializable). (Felipe)
+ . Fixed bug #61991 (long overflow in realpath_cache_get()). (Anatoliy)
+ . Fixed bug #61922 (ZTS build doesn't accept zend.script_encoding config).
+ (Laruence)
+ . Fixed bug #61827 (incorrect \e processing on Windows) (Anatoliy)
+ . Fixed bug #61782 (__clone/__destruct do not match other methods when checking
+ access controls). (Stas)
+ . Fixed bug #61761 ('Overriding' a private static method with a different
+ signature causes crash). (Laruence)
+ . Fixed bug #61730 (Segfault from array_walk modifying an array passed by
+ reference). (Laruence)
+ . Fixed bug #61728 (PHP crash when calling ob_start in request_shutdown
+ phase). (Laruence)
+ . Fixed bug #61660 (bin2hex(hex2bin($data)) != $data). (Nikita Popov)
+ . Fixed bug #61650 (ini parser crashes when using ${xxxx} ini variables
+ (without apache2)). (Laruence)
+ . Fixed bug #61605 (header_remove() does not remove all headers). (Laruence)
+ . Fixed bug #54547 (wrong equality of string numbers). (Gustavo)
+ . Fixed bug #54197 ([PATH=] sections incompatibility with user_ini.filename
+ set to null). (Anatoliy)
+ . Changed php://fd to be available only for CLI.
+
+- Phar:
+ . Fix bug #61065 (Secunia SA44335, CVE-2012-2386). (Rasmus)
+
+- Pgsql:
+ . Added pg_escape_identifier/pg_escape_literal. (Yasuo Ohgaki)
+
+- Fileinfo
+ . Fixed bug #61812 (Uninitialised value used in libmagic).
+ (Laruence, Gustavo)
+ . Fixed bug #61566 failure caused by the posix lseek and read versions
+ under windows in cdf_read(). (Anatoliy)
+ . Fixed bug #61565 where php_stream_open_wrapper_ex tries to open a
+ directory descriptor under windows. (Anatoliy)
+
+- Intl
+ . Fixed bug #62082 (Memory corruption in internal function
+ get_icu_disp_value_src_php()). (Gustavo)
+
+- Libxml:
+ . Fixed bug #61617 (Libxml tests failed(ht is already destroyed)).
+ (Laruence)
+
+- Zlib:
+ . Fixed bug #61820 (using ob_gzhandler will complain about headers already
+ sent when no compression). (Mike)
+ . Fixed bug #61443 (can't change zlib.output_compression on the fly). (Mike)
+ . Fixed bug #60761 (zlib.output_compression fails on refresh). (Mike)
+
+08 May 2012, PHP 5.4.3
+
+- CGI
+ . Re-Fix PHP-CGI query string parameter vulnerability, CVE-2012-1823.
+ (Stas)
+ . Fix bug #61807 - Buffer Overflow in apache_request_headers.
+ (nyt-php at countercultured dot net).
+
+03 May 2012, PHP 5.4.2
+
+- Fix PHP-CGI query string parameter vulnerability, CVE-2012-1823. (Rasmus)
+
+26 Apr 2012, PHP 5.4.1
-(merge after release)
+- CLI Server:
+ . Fixed bug #61461 (missing checks around malloc() calls). (Ilia)
+ . Implemented FR #60850 (Built in web server does not set
+ $_SERVER['SCRIPT_FILENAME'] when using router). (Laruence)
+ . "Connection: close" instead of "Connection: closed" (Gustavo)
+
+- Core:
+ . Fixed crash in ZTS using same class in many threads. (Johannes)
+ . Fixed bug #61374 (html_entity_decode tries to decode code points that don't
+ exist in ISO-8859-1). (Gustavo)
+ . Fixed bug #61273 (call_user_func_array with more than 16333 arguments
+ leaks / crashes). (Laruence)
+ . Fixed bug #61225 (Incorrect lexing of 0b00*+<NUM>). (Pierrick)
+ . Fixed bug #61165 (Segfault - strip_tags()). (Laruence)
+ . Fixed bug #61106 (Segfault when using header_register_callback). (Nikita
+ Popov)
+ . Fixed bug #61087 (Memory leak in parse_ini_file when specifying
+ invalid scanner mode). (Nikic, Laruence)
+ . Fixed bug #61072 (Memory leak when restoring an exception handler).
+ (Nikic, Laruence)
+ . Fixed bug #61058 (array_fill leaks if start index is PHP_INT_MAX).
+ (Laruence)
+ . Fixed bug #61052 (Missing error check in trait 'insteadof' clause). (Stefan)
+ . Fixed bug #61011 (Crash when an exception is thrown by __autoload
+ accessing a static property). (Laruence)
+ . Fixed bug #61000 (Exceeding max nesting level doesn't delete numerical
+ vars). (Laruence)
+ . Fixed bug #60978 (exit code incorrect). (Laruence)
+ . Fixed bug #60911 (Confusing error message when extending traits). (Stefan)
+ . Fixed bug #60801 (strpbrk() mishandles NUL byte). (Adam)
+ . Fixed bug #60717 (Order of traits in use statement can cause a fatal
+ error). (Stefan)
+ . Fixed bug #60573 (type hinting with "self" keyword causes weird errors).
+ (Laruence)
+ . Fixed bug #60569 (Nullbyte truncates Exception $message). (Ilia)
+ . Fixed bug #52719 (array_walk_recursive crashes if third param of the
+ function is by reference). (Nikita Popov)
+ . Improve performance of set_exception_handler while doing reset (Laruence)
+
+- fileinfo:
+ . Fix fileinfo test problems. (Anatoliy Belsky)
+
+- FPM
+ . Fixed bug #61430 (Transposed memset() params in sapi/fpm/fpm/fpm_shm.c).
+ (michaelhood at gmail dot com, Ilia)
+
+- Ibase
+ . Fixed bug #60947 (Segmentation fault while executing ibase_db_info).
+ (Ilia)
+
+- Installation
+ . Fixed bug #61172 (Add Apache 2.4 support). (Chris Jones)
+
+- Intl:
+ . Fixed bug #61487 (Incorrent bounds checking in grapheme_strpos).
+ (Stas)
+
+- mbstring:
+ . MFH mb_ereg_replace_callback() for security enhancements. (Rui)
+
+- mysqli
+ . Fixed bug #61003 (mysql_stat() require a valid connection). (Johannes).
+
+- mysqlnd
+ . Fixed bug #61704 (Crash apache, phpinfo() threading issue). (Johannes)
+ . Fixed bug #60948 (mysqlnd FTBFS when -Wformat-security is enabled).
+ (Johannes)
+
+- Readline:
+ . Fixed bug #61088 (Memory leak in readline_callback_handler_install).
+ (Nikic, Laruence)
+
+- Session
+ . Fixed bug #60634 (Segmentation fault when trying to die() in
+ SessionHandler::write()). (Ilia)
+
+- SOAP
+ . Fixed bug #61423 (gzip compression fails). (Ilia)
+ . Fixed bug #60887 (SoapClient ignores user_agent option and sends no
+ User-Agent header). (carloschilazo at gmail dot com)
+ . Fixed bug #60842, #51775 (Chunked response parsing error when
+ chunksize length line is > 10 bytes). (Ilia)
+ . Fixed bug #49853 (Soap Client stream context header option ignored).
+ (Dmitry)
+
+- PDO
+ . Fixed bug #61292 (Segfault while calling a method on an overloaded PDO
+ object). (Laruence)
+
+- PDO_mysql
+ . Fixed bug #61207 (PDO::nextRowset() after a multi-statement query doesn't
+ always work). (Johannes)
+ . Fixed bug #61194 (PDO should export compression flag with myslqnd).
+ (Johannes)
+
+- PDO_odbc
+ . Fixed bug #61212 (PDO ODBC Segfaults on SQL_SUCESS_WITH_INFO). (Ilia)
+
+- Phar
+ . Fixed bug #61184 (Phar::webPhar() generates headers with trailing NUL
+ bytes). (Nikita Popov)
+
+- Reflection:
+ . Implemented FR #61602 (Allow access to the name of constant
+ used as function/method parameter's default value). (reeze.xia@gmail.com)
+ . Fixed bug #60968 (Late static binding doesn't work with
+ ReflectionMethod::invokeArgs()). (Laruence)
+
+- SPL:
+ . Fixed bug #61453 (SplObjectStorage does not identify objects correctly).
+ (Gustavo)
+ . Fixed bug #61347 (inconsistent isset behavior of Arrayobject). (Laruence)
+
+- Standard:
+ . Fixed memory leak in substr_replace. (Pierrick)
+ . Make max_file_uploads ini directive settable outside of php.ini (Rasmus)
+ . Fixed bug #61409 (Bad formatting on phpinfo()). (Jakub Vrana)
+ . Fixed bug #60222 (time_nanosleep() does validate input params). (Ilia)
+ . Fixed bug #60106 (stream_socket_server silently truncates long unix socket
+ paths). (Ilia)
+
+- XMLRPC:
+ . Fixed bug #61264 (xmlrpc_parse_method_descriptions leaks temporary
+ variable). (Nikita Popov)
+ . Fixed bug #61097 (Memory leak in xmlrpc functions copying zvals). (Nikita
+ Popov)
+
+- Zlib:
+ . Fixed bug #61306 (initialization of global inappropriate for ZTS). (Gustavo)
+ . Fixed bug #61287 (A particular string fails to decompress). (Mike)
+ . Fixed bug #61139 (gzopen leaks when specifying invalid mode). (Nikita Popov)
+
+01 Mar 2012, PHP 5.4.0
+
+- Installation:
+ . autoconf 2.59+ is now supported (and required) for generating the
+ configure script with ./buildconf. Autoconf 2.60+ is desirable
+ otherwise the configure help order may be incorrect. (Rasmus, Chris Jones)
+
+- Removed legacy features:
+ . break/continue $var syntax. (Dmitry)
+ . Safe mode and all related php.ini options. (Kalle)
+ . register_globals and register_long_arrays php.ini options. (Kalle)
+ . import_request_variables(). (Kalle)
+ . allow_call_time_pass_reference. (Pierrick)
+ . define_syslog_variables php.ini option and its associated function. (Kalle)
+ . highlight.bg php.ini option. (Kalle)
+ . safe_mode, safe_mode_gid, safe_mode_include_dir,
+ safe_mode_exec_dir, safe_mode_allowed_env_vars and
+ safe_mode_protected_env_vars php.ini options.
+ . zend.ze1_compatibility_mode php.ini option.
+ . Session bug compatibility mode (session.bug_compat_42 and
+ session.bug_compat_warn php.ini options). (Kalle)
+ . session_is_registered(), session_register() and session_unregister()
+ functions. (Kalle)
+ . y2k_compliance php.ini option. (Kalle)
+ . magic_quotes_gpc, magic_quotes_runtime and magic_quotes_sybase
+ php.ini options. get_magic_quotes_gpc, get_magic_quotes_runtime are kept
+ but always return false, set_magic_quotes_runtime raises an
+ E_CORE_ERROR. (Pierrick, Pierre)
+ . Removed support for putenv("TZ=..") for setting the timezone. (Derick)
+ . Removed the timezone guessing algorithm in case the timezone isn't set with
+ date.timezone or date_default_timezone_set(). Instead of a guessed
+ timezone, "UTC" is now used instead. (Derick)
+
+- Moved extensions to PECL:
+ . ext/sqlite. (Note: the ext/sqlite3 and ext/pdo_sqlite extensions are
+ not affected) (Johannes)
+
+- General improvements:
+ . Added short array syntax support ([1,2,3]), see UPGRADING guide for full
+ details. (rsky0711 at gmail . com, sebastian.deutsch at 9elements . com,
+ Pierre)
+ . Added binary number format (0b001010). (Jonah dot Harris at gmail dot com)
+ . Added support for Class::{expr}() syntax (Pierrick)
+ . Added multibyte support by default. Previously PHP had to be compiled
+ with --enable-zend-multibyte. Now it can be enabled or disabled through
+ the zend.multibyte directive in php.ini. (Dmitry)
+ . Removed compile time dependency from ext/mbstring (Dmitry)
+ . Added support for Traits. (Stefan, with fixes by Dmitry and Laruence)
+ . Added closure $this support back. (Stas)
+ . Added array dereferencing support. (Felipe)
+ . Added callable typehint. (Hannes)
+ . Added indirect method call through array. FR #47160. (Felipe)
+ . Added DTrace support. (David Soria Parra)
+ . Added class member access on instantiation (e.g. (new foo)->bar()) support.
+ (Felipe)
+ . <?= is now always available regardless of the short_open_tag setting. (Rasmus)
+ . Implemented Zend Signal Handling (configurable option --enable-zend-signals,
+ off by default). (Lucas Nealan, Arnaud Le Blanc, Brian Shire, Ilia)
+ . Improved output layer, see README.NEW-OUTPUT-API for internals. (Mike)
+ . Improved UNIX build system to allow building multiple PHP binary SAPIs and
+ one SAPI module the same time. FR #53271, FR #52419. (Jani)
+ . Implemented closure rebinding as parameter to bindTo. (Gustavo Lopes)
+ . Improved the warning message of incompatible arguments. (Laruence)
+ . Improved ternary operator performance when returning arrays. (Arnaud, Dmitry)
+ . Changed error handlers to only generate docref links when the docref_root
+ php.ini setting is not empty. (Derick)
+ . Changed silent conversion of array to string to produce a notice. (Patrick)
+ . Changed default encoding from ISO-8859-1 to UTF-8 when not specified in
+ htmlspecialchars and htmlentities. (Rasmus)
+ . Changed casting of null/''/false into an Object when adding a property
+ from E_STRICT into a warning. (Scott)
+ . Changed E_ALL to include E_STRICT. (Stas)
+ . Disabled Windows CRT warning by default, can be enabled again using the
+ php.ini directive windows_show_crt_warnings. (Pierre)
+ . Fixed bug #55378: Binary number literal returns float number though its
+ value is small enough. (Derick)
+
+- Improved Zend Engine memory usage: (Dmitry)
+ . Improved parse error messages. (Felipe)
+ . Replaced zend_function.pass_rest_by_reference by
+ ZEND_ACC_PASS_REST_BY_REFERENCE in zend_function.fn_flags.
+ . Replaced zend_function.return_reference by ZEND_ACC_RETURN_REFERENCE
+ in zend_function.fn_flags.
+ . Removed zend_arg_info.required_num_args as it was only needed for internal
+ functions. Now the first arg_info for internal functions (which has special
+ meaning) is represented by the zend_internal_function_info structure.
+ . Moved zend_op_array.size, size_var, size_literal, current_brk_cont,
+ backpatch_count into CG(context) as they are used only during compilation.
+ . Moved zend_op_array.start_op into EG(start_op) as it's used only for
+ 'interactive' execution of a single top-level op-array.
+ . Replaced zend_op_array.done_pass_two by ZEND_ACC_DONE_PASS_TWO in
+ zend_op_array.fn_flags.
+ . op_array.vars array is trimmed (reallocated) during pass_two.
+ . Replaced zend_class_entry.constants_updated by ZEND_ACC_CONSTANTS_UPDATED
+ in zend_class_entry.ce_flags.
+ . Reduced the size of zend_class_entry by sharing the same memory space
+ by different information for internal and user classes.
+ See zend_class_entry.info union.
+ . Reduced size of temp_variable.
+
+- Improved Zend Engine - performance tweaks and optimizations: (Dmitry)
+ . Inlined most probable code-paths for arithmetic operations directly into
+ executor.
+ . Eliminated unnecessary iterations during request startup/shutdown.
+ . Changed $GLOBALS into a JIT autoglobal, so it's initialized only if used.
+ (this may affect opcode caches!)
+ . Improved performance of @ (silence) operator.
+ . Simplified string offset reading. Given $str="abc" then $str[1][0] is now
+ a legal construct.
+ . Added caches to eliminate repeatable run-time bindings of functions,
+ classes, constants, methods and properties.
+ . Added concept of interned strings. All strings constants known at compile
+ time are allocated in a single copy and never changed.
+ . ZEND_RECV now always has IS_CV as its result.
+ . ZEND_CATCH now has to be used only with constant class names.
+ . ZEND_FETCH_DIM_? may fetch array and dimension operands in different order.
+ . Simplified ZEND_FETCH_*_R operations. They can't be used with the
+ EXT_TYPE_UNUSED flag any more. This is a very rare and useless case.
+ ZEND_FREE might be required after them instead.
+ . Split ZEND_RETURN into two new instructions ZEND_RETURN and
+ ZEND_RETURN_BY_REF.
+ . Optimized access to global constants using values with pre-calculated
+ hash_values from the literals table.
+ . Optimized access to static properties using executor specialization.
+ A constant class name may be used as a direct operand of ZEND_FETCH_*
+ instruction without previous ZEND_FETCH_CLASS.
+ . zend_stack and zend_ptr_stack allocation is delayed until actual usage.
+
+- Other improvements to Zend Engine:
+ . Added an optimization which saves memory and emalloc/efree calls for empty
+ HashTables. (Stas, Dmitry)
+ . Added ability to reset user opcode handlers (Yoram).
+ . Changed the structure of op_array.opcodes. The constant values are moved from
+ opcode operands into a separate literal table. (Dmitry)
+ . Fixed (disabled) inline-caching for ZEND_OVERLOADED_FUNCTION methods.
+ (Dmitry)
+
+- Improved core functions:
+ . Enforce an extended class' __construct arguments to match the
+ abstract constructor in the base class.
+ . Disallow reusing superglobal names as parameter names.
+ . Added optional argument to debug_backtrace() and debug_print_backtrace()
+ to limit the amount of stack frames returned. (Sebastian, Patrick)
+ . Added hex2bin() function. (Scott)
+ . number_format() no longer truncates multibyte decimal points and thousand
+ separators to the first byte. FR #53457. (Adam)
+ . Added support for object references in recursive serialize() calls.
+ FR #36424. (Mike)
+ . Added support for SORT_NATURAL and SORT_FLAG_CASE in array
+ sort functions (sort, rsort, ksort, krsort, asort, arsort and
+ array_multisort). FR#55158 (Arpad)
+ . Added stream metadata API support and stream_metadata() stream class
+ handler. (Stas)
+ . User wrappers can now define a stream_truncate() method that responds
+ to truncation, e.g. through ftruncate(). FR #53888. (Gustavo)
+ . Improved unserialize() performance.
+ (galaxy dot mipt at gmail dot com, Kalle)
+ . Changed array_combine() to return empty array instead of FALSE when both
+ parameter arrays are empty. FR #34857. (joel.perras@gmail.com)
+ . Fixed bug #61095 (Incorect lexing of 0x00*+<NUM>). (Etienne)
+ . Fixed bug #60965 (Buffer overflow on htmlspecialchars/entities with
+ $double=false). (Gustavo)
+ . Fixed bug #60895 (Possible invalid handler usage in windows random
+ functions). (Pierre)
+ . Fixed bug #60879 (unserialize() Does not invoke __wakeup() on object).
+ (Pierre, Steve)
+ . Fixed bug #60825 (Segfault when running symfony 2 tests).
+ (Dmitry, Laruence)
+ . Fixed bug #60627 (httpd.worker segfault on startup with php_value).
+ . Fixed bug #60613 (Segmentation fault with $cls->{expr}() syntax). (Dmitry)
+ . Fixed bug #60611 (Segmentation fault with Cls::{expr}() syntax). (Laruence)
+ (Laruence)
+ . Fixed bug #60558 (Invalid read and writes). (Laruence)
+ . Fixed bug #60444 (Segmentation fault with include & class extending).
+ (Laruence, Dmitry).
+ . Fixed bug #60362 (non-existent sub-sub keys should not have values).
+ (Laruence, alan_k, Stas)
+ . Fixed bug #60350 (No string escape code for ESC (ascii 27), normally \e).
+ (php at mickweiss dot com)
+ . Fixed bug #60321 (ob_get_status(true) no longer returns an array when
+ buffer is empty). (Pierrick)
+ . Fixed bug #60282 (Segfault when using ob_gzhandler() with open buffers).
+ (Laruence)
+ . Fixed bug #60240 (invalid read/writes when unserializing specially crafted
+ strings). (Mike)
+ . Fixed bug #60227 (header() cannot detect the multi-line header with
+ CR(0x0D)). (rui)
+ . Fixed bug #60174 (Notice when array in method prototype error).
+ (Laruence)
+ . Fixed bug #60169 (Conjunction of ternary and list crashes PHP).
+ (Laruence)
+ . Fixed bug #60038 (SIGALRM cause segfault in php_error_cb). (Laruence)
+ (klightspeed at netspace dot net dot au)
+ . Fixed bug #55871 (Interruption in substr_replace()). (Stas)
+ . Fixed bug #55801 (Behavior of unserialize has changed). (Mike)
+ . Fixed bug #55758 (Digest Authenticate missed in 5.4) . (Laruence)
+ . Fixed bug #55748 (multiple NULL Pointer Dereference with zend_strndup())
+ (CVE-2011-4153). (Stas)
+ . Fixed bug #55124 (recursive mkdir fails with current (dot) directory in path).
+ (Pierre)
+ . Fixed bug #55084 (Function registered by header_register_callback is
+ called only once per process). (Hannes)
+ . Implement FR #54514 (Get php binary path during script execution).
+ (Laruence)
+ . Fixed bug #52211 (iconv() returns part of string on error). (Felipe)
+ . Fixed bug #51860 (Include fails with toplevel symlink to /). (Dmitry)
+
+- Improved generic SAPI support:
+ . Added $_SERVER['REQUEST_TIME_FLOAT'] to include microsecond precision.
+ (Patrick)
+ . Added header_register_callback() which is invoked immediately
+ prior to the sending of headers and after default headers have
+ been added. (Scott)
+ . Added http_response_code() function. FR #52555. (Paul Dragoonis, Kalle)
+ . Fixed bug #55500 (Corrupted $_FILES indices lead to security concern).
+ (CVE-2012-1172). (Stas)
+ . Fixed bug #54374 (Insufficient validating of upload name leading to
+ corrupted $_FILES indices). (CVE-2012-1172). (Stas, lekensteyn at gmail dot com)
+
+- Improved CLI SAPI:
+ . Added built-in web server that is intended for testing purpose.
+ (Moriyoshi, Laruence, and fixes by Pierre, Derick, Arpad,
+ chobieee at gmail dot com)
+ . Added command line option --rz <name> which shows information of the
+ named Zend extension. (Johannes)
+ . Interactive readline shell improvements: (Johannes)
+ . Added "cli.pager" php.ini setting to set a pager for output.
+ . Added "cli.prompt" php.ini setting to configure the shell prompt.
+ . Added shortcut #inisetting=value to change php.ini settings at run-time.
+ . Changed shell not to terminate on fatal errors.
+ . Interactive shell works with shared readline extension. FR #53878.
+
+- Improved CGI/FastCGI SAPI: (Dmitry)
+ . Added apache compatible functions: apache_child_terminate(),
+ getallheaders(), apache_request_headers() and apache_response_headers()
+ . Improved performance of FastCGI request parsing.
+ . Fixed reinitialization of SAPI callbacks after php_module_startup().
+ (Dmitry)
+
+- Improved PHP-FPM SAPI:
+ . Removed EXPERIMENTAL flag. (fat)
+ . Fixed bug #60659 (FPM does not clear auth_user on request accept).
+ (bonbons at linux-vserver dot org)
+
+- Improved Litespeed SAPI:
+ . Fixed bug #55769 (Make Fails with "Missing Separator" error). (Adam)
+
+- Improved Date extension:
+ . Added the + modifier to parseFromFormat to allow trailing text in the
+ string to parse without throwing an error. (Stas, Derick)
+
+- Improved DBA extension:
+ . Added Tokyo Cabinet abstract DB support. (Michael Maclean)
+ . Added Berkeley DB 5 support. (Johannes, Chris Jones)
+
+- Improved DOM extension:
+ . Added the ability to pass options to loadHTML (Chregu, fxmulder at gmail dot com)
+
+- Improved filesystem functions:
+ . scandir() now accepts SCANDIR_SORT_NONE as a possible sorting_order value.
+ FR #53407. (Adam)
+
+- Improved HASH extension:
+ . Added Jenkins's one-at-a-time hash support. (Martin Jansen)
+ . Added FNV-1 hash support. (Michael Maclean)
+ . Made Adler32 algorithm faster. FR #53213. (zavasek at yandex dot ru)
+ . Removed Salsa10/Salsa20, which are actually stream ciphers (Mike)
+ . Fixed bug #60221 (Tiger hash output byte order) (Mike)
+
+- Improved intl extension:
+ . Added Spoofchecker class, allows checking for visibly confusable characters and
+ other security issues. (Scott)
+ . Added Transliterator class, allowing transliteration of strings.
+ (Gustavo)
+ . Added support for UTS #46. (Gustavo)
+ . Fixed build on Fedora 15 / Ubuntu 11. (Hannes)
+ . Fixed bug #55562 (grapheme_substr() returns false on big length). (Stas)
+
+- Improved JSON extension:
+ . Added new json_encode() option JSON_UNESCAPED_UNICODE. FR #53946.
+ (Alexander, Gwynne)
+ . Added JsonSerializable interface. (Sara)
+ . Added JSON_BIGINT_AS_STRING, extended json_decode() sig with $options.
+ (Sara)
+ . Added support for JSON_NUMERIC_CHECK option in json_encode() that converts
+ numeric strings to integers. (Ilia)
+ . Added new json_encode() option JSON_UNESCAPED_SLASHES. FR #49366. (Adam)
+ . Added new json_encode() option JSON_PRETTY_PRINT. FR #44331. (Adam)
+
+- Improved LDAP extension:
+ . Added paged results support. FR #42060. (ando@OpenLDAP.org,
+ iarenuno@eteo.mondragon.edu, jeanseb@au-fil-du.net, remy.saissy@gmail.com)
+
+- Improved mbstring extension:
+ . Added Shift_JIS/UTF-8 Emoji (pictograms) support. (Rui)
+ . Added JIS X0213:2004 (Shift_JIS-2004, EUC-JP-2004, ISO-2022-JP-2004)
+ support. (Rui)
+ . Ill-formed UTF-8 check for security enhancements. (Rui)
+ . Added MacJapanese (Shift_JIS) and gb18030 encoding support. (Rui)
+ . Added encode/decode in hex format to mb_[en|de]code_numericentity(). (Rui)
+ . Added user JIS X0213:2004 (Shift_JIS-2004, EUC-JP-2004, ISO-2022-JP-2004)
+ support. (Rui)
+ . Added the user defined area for CP936 and CP950 (Rui).
+ . Fixed bug #60306 (Characters lost while converting from cp936 to utf8).
+ (Laruence)
+
+- Improved MySQL extensions:
+ . MySQL: Deprecated mysql_list_dbs(). FR #50667. (Andrey)
+ . mysqlnd: Added named pipes support. FR #48082. (Andrey)
+ . MySQLi: Added iterator support in MySQLi. mysqli_result implements
+ Traversable. (Andrey, Johannes)
+ . PDO_mysql: Removed support for linking with MySQL client libraries older
+ than 4.1. (Johannes)
+ . ext/mysql, mysqli and pdo_mysql now use mysqlnd by default. (Johannes)
+ . Fixed bug #55473 (mysql_pconnect leaks file descriptors on reconnect).
+ (Andrey, Laruence)
+ . Fixed bug #55653 (PS crash with libmysql when binding same variable as
+ param and out). (Laruence)
+
+- Improved OpenSSL extension:
+ . Added AES support. FR #48632. (yonas dot y at gmail dot com, Pierre)
+ . Added no padding option to openssl_encrypt()/openssl_decrypt(). (Scott)
+ . Use php's implementation for Windows Crypto API in
+ openssl_random_pseudo_bytes. (Pierre)
+ . On error in openssl_random_pseudo_bytes() made sure we set strong result
+ to false. (Scott)
+ . Fixed possible attack in SSL sockets with SSL 3.0 / TLS 1.0.
+ CVE-2011-3389. (Scott)
+ . Fixed bug #61124 (Crash when decoding an invalid base64 encoded string).
+ (me at ktamura dot com, Scott)
+
+- Improved PDO:
+ . Fixed PDO objects binary incompatibility. (Dmitry)
+
+- PDO DBlib driver:
+ . Added nextRowset support.
+ . Fixed bug #50755 (PDO DBLIB Fails with OOM).
+
+- Improved PostgreSQL extension:
+ . Added support for "extra" parameter for PGNotify().
+ (r dot i dot k at free dot fr, Ilia)
+
+- Improved PCRE extension:
+ . Changed third parameter of preg_match_all() to optional. FR #53238. (Adam)
+
+- Improved Readline extension:
+ . Fixed bug #54450 (Enable callback support when built against libedit).
+ (fedora at famillecollet dot com, Hannes)
+
+- Improved Reflection extension:
+ . Added ReflectionClass::newInstanceWithoutConstructor() to create a new
+ instance of a class without invoking its constructor. FR #55490.
+ (Sebastian)
+ . Added ReflectionExtension::isTemporary() and
+ ReflectionExtension::isPersistent() methods. (Johannes)
+ . Added ReflectionZendExtension class. (Johannes)
+ . Added ReflectionClass::isCloneable(). (Felipe)
+
+- Improved Session extension:
+ . Expose session status via new function, session_status (FR #52982) (Arpad)
+ . Added support for object-oriented session handlers. (Arpad)
+ . Added support for storing upload progress feedback in session data. (Arnaud)
+ . Changed session.entropy_file to default to /dev/urandom or /dev/arandom if
+ either is present at compile time. (Rasmus)
+ . Fixed bug #60860 (session.save_handler=user without defined function core
+ dumps). (Felipe)
+ . Implement FR #60551 (session_set_save_handler should support a core's
+ session handler interface). (Arpad)
+ . Fixed bug #60640 (invalid return values). (Arpad)
+
+- Improved SNMP extension (Boris Lytochkin):
+ . Added OO API. FR #53594 (php-snmp rewrite).
+ . Sanitized return values of existing functions. Now it returns FALSE on
+ failure.
+ . Allow ~infinite OIDs in GET/GETNEXT/SET queries. Autochunk them to max_oids
+ upon request.
+ . Introducing unit tests for extension with ~full coverage.
+ . IPv6 support. (FR #42918)
+ . Way of representing OID value can now be changed when SNMP_VALUE_OBJECT
+ is used for value output mode. Use or'ed SNMP_VALUE_LIBRARY(default if
+ not specified) or SNMP_VALUE_PLAIN. (FR #54502)
+ . Fixed bug #60749 (SNMP module should not strip non-standard SNMP port
+ from hostname). (Boris Lytochkin)
+ . Fixed bug #60585 (php build fails with USE flag snmp when IPv6 support
+ is disabled). (Boris Lytochkin)
+ . Fixed bug #53862 (snmp_set_oid_output_format does not allow returning to default)
+ . Fixed bug #46065 (snmp_set_quick_print() persists between requests)
+ . Fixed bug #45893 (Snmp buffer limited to 2048 char)
+ . Fixed bug #44193 (snmp v3 noAuthNoPriv doesn't work)
+
+- Improved SOAP extension:
+ . Added new SoapClient option "keep_alive". FR #60329. (Pierrick)
+ . Fixed basic HTTP authentication for WSDL sub requests. (Dmitry)
+
+- Improved SPL extension:
+ . Added RegexIterator::getRegex() method. (Joshua Thijssen)
+ . Added SplObjectStorage::getHash() hook. (Etienne)
+ . Added CallbackFilterIterator and RecursiveCallbackFilterIterator. (Arnaud)
+ . Added missing class_uses(..) as pointed out by #55266 (Stefan)
+ . Immediately reject wrong usages of directories under Spl(Temp)FileObject
+ and friends. (Etienne, Pierre)
+ . FilesystemIterator, GlobIterator and (Recursive)DirectoryIterator now use
+ the default stream context. (Hannes)
+ . Fixed bug #60201 (SplFileObject::setCsvControl does not expose third
+ argument via Reflection). (Peter)
+ . Fixed bug #55287 (spl_classes() not includes CallbackFilter classes)
+ (sasezaki at gmail dot com, salathe)
+
+- Improved Sysvshm extension:
+ . Fixed bug #55750 (memory copy issue in sysvshm extension).
+ (Ilia, jeffhuang9999 at gmail dot com)
+
+- Improved Tidy extension:
+ . Fixed bug #54682 (Tidy::diagnose() NULL pointer dereference).
+ (Maksymilian Arciemowicz, Felipe)
+
+- Improved Tokenizer extension:
+ . Fixed bug #54089 (token_get_all with regards to __halt_compiler is
+ not binary safe). (Nikita Popov)
+
+- Improved XSL extension:
+ . Added XsltProcessor::setSecurityPrefs($options) and getSecurityPrefs() to
+ define forbidden operations within XSLT stylesheets, default is not to
+ enable write operations from XSLT. Bug #54446 (Chregu, Nicolas Gregoire)
+ . XSL doesn't stop transformation anymore, if a PHP function can't be called
+ (Christian)
+
+- Improved ZLIB extension:
+ . Re-implemented non-file related functionality. (Mike)
+ . Fixed bug #55544 (ob_gzhandler always conflicts with zlib.output_compression).
+ (Mike)
08 May 2012, PHP 5.3.13
- CGI
@@ -68,8 +720,10 @@ PHP NEWS
26 Apr 2012, PHP 5.3.11
- Core:
- . Fixed bug #61650 (ini parser crashes when using ${xxxx} ini variables
- (without apache2)). (Laruence)
+ . Fixed bug #61605 (header_remove() does not remove all headers).
+ (Laruence)
+ . Fixed bug #61541 (Segfault when using ob_* in output_callback).
+ (reeze.xia@gmail.com)
. Fixed bug #61273 (call_user_func_array with more than 16333 arguments
leaks / crashes). (Laruence)
. Fixed bug #61165 (Segfault - strip_tags()). (Laruence)
@@ -116,17 +770,14 @@ PHP NEWS
. Fixed bug #61172 (Add Apache 2.4 support). (Chris Jones)
- Fileinfo
- . Upgraded libmagic to 5.11 (Pierre, Anatoliy)
- . Fixed bug #61565 where php_stream_open_wrapper_ex tries to open a
- directory descriptor under windows. (Anatoliy)
- . Fixed bug #61566 failure caused by the posix lseek and read versions
- under windows in cdf_read(). (Anatoliy)
. Fixed bug #61173 (Unable to detect error from finfo constructor). (Gustavo)
- Firebird Database extension (ibase):
. Fixed bug #60802 (ibase_trans() gives segfault when passing params).
- Libxml:
+ . Fixed bug #61617 (Libxml tests failed(ht is already destroyed)).
+ (Laruence)
. Fixed bug #61367 (open_basedir bypass using libxml RSHUTDOWN).
(Tim Starling)
@@ -149,10 +800,6 @@ PHP NEWS
- PDO_Sqlite extension:
. Add createCollation support. (Damien)
-- pgsql:
- . Fixed bug #60718 (Compile problem with libpq (PostgreSQL 7.3 or less).
- (Yasuo Ohgaki)
-
- Phar:
. Fixed bug #61184 (Phar::webPhar() generates headers with trailing NUL
bytes). (Nikic)
@@ -334,8 +981,6 @@ PHP NEWS
for small images). (Florian)
- Intl:
- . Fixed bug #61487 (Incorrent bounds checking in grapheme_strpos).
- (Stas)
. Fixed bug #60192 (SegFault when Collator not constructed
properly). (Florian)
. Fixed memory leak in several Intl locale functions. (Felipe)
@@ -439,6 +1084,7 @@ PHP NEWS
- Postgres:
. Fixed bug #60244 (pg_fetch_* functions do not validate that row param
is >0). (Ilia)
+ . Added PGSQL_LIBPQ_VERSION/PGSQL_LIBPQ_VERSION_STR constants. (Yasuo)
- Reflection:
. Fixed bug #60367 (Reflection and Late Static Binding). (Laruence)
diff --git a/README.NEW-OUTPUT-API b/README.NEW-OUTPUT-API
new file mode 100644
index 0000000..7d9cc10
--- /dev/null
+++ b/README.NEW-OUTPUT-API
@@ -0,0 +1,142 @@
+$Id: README.NEW-OUTPUT-API 219039 2006-08-30 07:39:09Z mike $
+
+
+API adjustment to the old output control code:
+
+ Everything now resides beneath the php_output namespace,
+ and there's an API call for every output handler op.
+
+ Checking output control layers status:
+ // Using OG()
+ php_output_get_status(TSRMLS_C);
+
+ Starting the default output handler:
+ // php_start_ob_buffer(NULL, 0, 1 TSRMLS_CC);
+ php_output_start_default(TSRMLS_C);
+
+ Starting an user handler by zval:
+ // php_start_ob_buffer(zhandler, chunk_size, erase TSRMLS_CC);
+ php_output_start_user(zhandler, chunk_size, flags TSRMLS_CC);
+
+ Starting an internal handler whithout context:
+ // php_ob_set_internal_handler(my_php_output_handler_func_t, buffer_size, "output handler name", erase TSRMLS_CC);
+ php_output_start_internal(handler_name, handler_name_len, my_php_output_handler_func_t, chunk_size, flags TSRMLS_CC);
+
+ Starting an internal handler with context:
+ // not possible with old API
+ php_output_handler *h;
+ h = php_output_handler_create_internal(handler_name, handler_name_len, my_php_output_handler_context_func_t, chunk_size, flags TSRMLS_CC);
+ php_output_handler_set_context(h, my_context, my_context_dtor);
+ php_output_handler_start(h TSRMLS_CC);
+
+ Testing whether a certain output handler has already been started:
+ // php_ob_handler_used("output handler name" TSRMLS_CC);
+ php_output_handler_started(handler_name, handler_name_len TSRMLS_CC);
+
+ Flushing one output buffer:
+ // php_ob_end_buffer(1, 1 TSRMLS_CC);
+ php_output_flush(TSRMLS_C);
+
+ Flushing all output buffers:
+ // not possible with old API
+ php_output_flush_all(TSRMLS_C);
+
+ Cleaning one output buffer:
+ // php_ob_end_buffer(0, 1 TSRMLS_CC);
+ php_output_clean(TSRMLS_C);
+
+ Cleaning all output buffers:
+ // not possible with old API
+ php_output_clean_all(TSRMLS_C);
+
+ Discarding one output buffer:
+ // php_ob_end_buffer(0, 0 TSRMLS_CC);
+ php_output_discard(TSRMLS_C);
+
+ Discarding all output buffers:
+ // php_ob_end_buffers(0 TSRMLS_CC);
+ php_output_discard_all(TSRMLS_C);
+
+ Stopping (and dropping) one output buffer:
+ // php_ob_end_buffer(1, 0 TSRMLS_CC)
+ php_output_end(TSRMLS_C);
+
+ Stopping (and dropping) all output buffers:
+ // php_ob_end_buffers(1, 0 TSRMLS_CC);
+ php_output_end_all(TSRMLS_C);
+
+ Retrieving output buffers contents:
+ // php_ob_get_buffer(zstring TSRMLS_CC);
+ php_output_get_contents(zstring TSRMLS_CC);
+
+ Retrieving output buffers length:
+ // php_ob_get_length(zlength TSRMLS_CC);
+ php_output_get_length(zlength TSRMLS_CC);
+
+ Retrieving output buffering level:
+ // OG(nesting_level);
+ php_output_get_level(TSRMLS_C);
+
+ Issue a warning because of an output handler conflict:
+ // php_ob_init_conflict("to be started handler name", "to be tested if already started handler name" TSRMLS_CC);
+ php_output_handler_conflict(new_handler_name, new_handler_name_len, set_handler_name, set_handler_name_len TSRMLS_CC);
+
+ Registering a conflict checking function, which will be checked prior starting the handler:
+ // not possible with old API, unless hardcoding into output.c
+ php_output_handler_conflict_register(handler_name, handler_name_len, my_php_output_handler_conflict_check_t TSRMLS_CC);
+
+ Registering a reverse conflict checking function, which will be checked prior starting the specified foreign handler:
+ // not possible with old API
+ php_output_handler_reverse_conflict_register(foreign_handler_name, foreign_handler_name_len, my_php_output_handler_conflict_check_t TSRMLS_CC);
+
+ Facilitating a context from within an output handler callable with ob_start():
+ // not possible with old API
+ php_output_handler_hook(PHP_OUTPUT_HANDLER_HOOK_GET_OPAQ, (void *) &custom_ctx_ptr_ptr TSRMLS_CC);
+
+ Disabling of the output handler by itself:
+ //not possible with old API
+ php_output_handler_hook(PHP_OUTPUT_HANDLER_HOOK_DISABLE, NULL TSRMLS_CC);
+
+ Marking an output handler immutable by itself because of irreversibility of its operation:
+ // not possible with old API
+ php_output_handler_hook(PHP_OUTPUT_HANDLER_HOOK_IMMUTABLE, NULL TSRMLS_CC);
+
+ Restarting the output handler because of a CLEAN operation:
+ // not possible with old API
+ if (flags & PHP_OUTPUT_HANDLER_CLEAN) { ... }
+
+ Recognizing by the output handler itself if it gets discarded:
+ // not possible with old API
+ if ((flags & PHP_OUTPUT_HANDLER_CLEAN) && (flags & PHP_OUTPUT_HANDLER_FINAL)) { ... }
+
+
+Output handler hooks
+
+ The output handler can change its abilities at runtime. Eg. the gz handler can
+ remove the CLEANABLE and REMOVABLE bits when the first output has passed through it;
+ or handlers implemented in C to be used with ob_start() can contain a non-global
+ context:
+ PHP_OUTPUT_HANDLER_HOOK_GET_OPAQ
+ pass a void*** pointer as second arg to receive the address of a pointer
+ pointer to the opaque field of the output handler context
+ PHP_OUTPUT_HANDLER_HOOK_GET_FLAGS
+ pass a int* pointer as second arg to receive the flags set for the output handler
+ PHP_OUTPUT_HANDLER_HOOK_GET_LEVEL
+ pass a int* pointer as second arg to receive the level of this output handler
+ (starts with 0)
+ PHP_OUTPUT_HANDLER_HOOK_IMMUTABLE
+ the second arg is ignored; marks the output handler to be neither cleanable
+ nor removable
+ PHP_OUTPUT_HANDLER_HOOK_DISABLE
+ the second arg is ignored; marks the output handler as disabled
+
+
+Open questions
+
+ Should the userland API be adjusted and unified?
+
+ Many bits of the manual (and very first implementation) do not comply
+ with the behaviour of the current (to be obsoleted) code, thus should
+ the manual or the behaviour be adjusted?
+
+END
diff --git a/README.PARAMETER_PARSING_API b/README.PARAMETER_PARSING_API
index 8d29767..927e481 100644
--- a/README.PARAMETER_PARSING_API
+++ b/README.PARAMETER_PARSING_API
@@ -51,6 +51,7 @@ Type specifiers
L - long, limits out-of-range numbers to LONG_MAX/LONG_MIN (long)
o - object of any type (zval*)
O - object of specific type given by class entry (zval*, zend_class_entry)
+ p - valid path (string without null bytes in the middle) and its length (char*, int)
r - resource (zval*)
s - string (with possible null bytes) and its length (char*, int)
z - the actual zval (zval*)
diff --git a/README.RELEASE_PROCESS b/README.RELEASE_PROCESS
index b09ec53..a8e36c2 100644
--- a/README.RELEASE_PROCESS
+++ b/README.RELEASE_PROCESS
@@ -50,38 +50,30 @@ Rolling a non stable release (alpha/beta/RC)
2. run the "scripts/dev/credits" script in php-src and commit the changes in the
credits files in ext/standard.
-3. Bump the version numbers in ``main/php_version.h``, ``configure.in`` and possibly ``NEWS``.
-Do not use abbreviations for alpha and beta.
-
-4. Commit those changes and note the revision id.
-
-5. tag the repository with the version. To do the tag in a fast way do a svn copy on the server using full URLs. You should use the revision id from the above commit to prevent mistakes in case there was a commit in between. f.e. "``svn cp https://svn.php.net/repository/php/php-src/branches/PHP_5_3@308399 https://svn.php.net/repository/php/php-src/tags/php_5_3_6RC1``"
-(of course, you need to change that to the version you're rolling an RC for). Mail php-internals to announce the tag so tests/validation/check can be done prior to package it. It is especially important for RCs.
+3. Checkout the release branch for this release (e.g., PHP-5.4.2).
-6. Bump up the version numbers in ``main/php_version.h``, ``configure.in``
-and possibly ``NEWS`` again, to the **next** version. F.e. if the release
-candidate was "4.4.1RC1" then the new one should be "4.4.1RC2-dev" - regardless
-if we get a new RC or not. This is to make sure ``version_compare()`` can
-correctly work.
+4. Bump the version numbers in ``main/php_version.h``, ``configure.in`` and possibly ``NEWS``.
+Do not use abbreviations for alpha and beta.
-7. Commit those changes
+5. Commit these changes to the branch with ``git commit -a``.
-8. Log in onto the snaps box and go into the correct tree (f.e. the PHP_4_4
-branch if you're rolling 4.4.x releases).
+6. Tag the repository with the version, e.g.:
+``git tag -u YOURKEYID php-5.4.2RC2``
-9. You do not have to update the tree, but of course you can with "``svn up``".
+7. Push the changes to the main repo:
+``git push --tags origin HEAD``
-10. run: ``./makedist php 4.4.1RC1``, this will export the tree, create configure
+8. run: ``./makedist 5.4.2RC2``, this will export the tree, create configure
and build two tarballs (one gz and one bz2).
-11. Copy those two tarballs to www.php.net, in your homedir there should be a
+9. Copy those two tarballs to www.php.net, in your homedir there should be a
directory "downloads/". Copy them into there, so that the system can generate
MD5 sums. If you do not have this directory, talk to Derick.
-12. Now the RC can be found on http://downloads.php.net/yourname,
+10. Now the RC can be found on http://downloads.php.net/yourname,
f.e. http://downloads.php.net/derick/
-13. Once the release has been tagged, contact the PHP Windows development team
+11. Once the release has been tagged, contact the PHP Windows development team
(internals-win@lists.php.net) so that Windows binaries can be created. Once
those are made, they should be placed into the same directory as the source snapshots.
@@ -115,7 +107,7 @@ Derick) run the following commands for you:
4. Update ``php.git/include/version.inc`` (x=major version number)