This reverts commit 94e9d0a2ae.
This code needs to be mindful about modifications to the array
happening during callback execution. It was written in a way that
only accessed the reference, which is guaranteed not to move. The
changed implementation instead accesses the array slot, leading to
use-after-free.
Run ext/standard/tests/array/bug61967.phpt under valgrind to see
the issue.
* all arguments for ftp_pasv are required
* $varname for getenv function isn't required anymore
* fsockopen and pfsockopen only require $hostname
* strtok can work with only one parameter
* strpbrk needs two parameters to work
* required parameters and add some parameters in openssl_* functions
If the longest common substring is the leftmost common substring, there
is no need to check the string prefixes for further common substrings,
since there are none.
* 'master' of git.php.net:/php-src:
Added expectation
Fix initialisation order
Fix NEWS
Fix a memleak with mysqlnd and SSL
Move exceptional code into helpers
Fix negotiaton of MySQL auth plugin
Use EXPECT instead of EXPECTF when possible
Move cold code, duplicated by specializer, into helper functions
Fixed build without global register variables
Sync --enable-native-intrinsics to pecl
[ci skip] Sort recent NEWS entries alphabetically
Fix openssl_* arginfos
Update binary tools SDK branch for AppVeyor
Separate slow path with make_real_object() and related code into "cold" function.
[ci skip] run-tests.php: add missing put section
* 'master' of git.php.net:/php-src: (37 commits)
Avoid conditions inside loop
Improve loop vectorization
Improve loop vectorization
Remove unused function
Fixed bug #75938
Remove unused files
Fixed bug #75940 Unnecessary compile wrapper with PHP_THREAD_SAFETY=yes
typo
Update README.GIT-RULES
Fix SKIPIF section
Fixes bug #75871 Use pkg-config for libxml2 if available
Fixed bug #49876 lib path on 64bit distros
Refactor testing READMEs
Fixed bug #65414
Fixed bug #65414
Fixed bug #74519 strange behavior of AppendIterator
fix#74519 strange behavior of AppendIterator
Use bool instead of boolean
Remove space between function name and open parentheses
Fix some misspellings
...