Closed msamgan closed 5 months ago
Seems stream_socket_sendto($fd, $data);
returns ESPIPE.
Reproducing this while building from source on php-8.3.6
@devnexen I am sorry for mentioning you directly, but I am halting on this failed test when building PHP as mentioned on my previous comment. MacBookPro11,5 macOS Monterey 12.7.4 Supposedly this is a Windows error, but the test is being invoked and showing as failing on macOS. This report was opened in Sept 2023, we're almost June 2024 and no one seems to have looked at this. Can we get some traction going to resolve this situation, please?
Sorry for the late reply, got caught up on other things in the meantime. Hopefully the fix should be merged soon-ish.
Description
system details
Model Name: MacBook Pro Model Identifier: MacBookPro18,1 Chip: Apple M1 Pro Total Number of Cores: 10 (8 performance and 2 efficiency) Memory: 16 GB System Firmware Version: 8422.141.2 OS Loader Version: 8422.141.2
OS Details
ProductName: macOS ProductVersion: 13.5.1 BuildVersion: 22G90
Report details
===================================================================== EXPECTED FAILED TEST SUMMARY
Test open_basedir configuration [tests/security/open_basedir_linkinfo.phpt] XFAIL REASON: BUG: open_basedir cannot delete symlink to prohibited file. See also bugs 48111 and 52176. Bug #42718 (unsafe_raw filter not applied when configured as default filter) [ext/filter/tests/bug42718.phpt] XFAIL REASON: FILTER_UNSAFE_RAW not applied when configured as default filter, even with flags Bug #67296 (filter_input doesn't validate variables) [ext/filter/tests/bug49184.phpt] XFAIL REASON: See Bug #49184 Bug #67167: filter_var(null,FILTER_VALIDATE_BOOLEAN,FILTER_NULL_ON_FAILURE) returns null [ext/filter/tests/bug67167.02.phpt] XFAIL REASON: Requires php_zval_filter to not use convert_to_string for all filters. Return type check elision [ext/opcache/tests/opt/verify_return_type.phpt] XFAIL REASON: Return types cannot be inferred through prototypes via [ext/pdo_sqlite/tests/common.phpt] SQLite PDO Common: PDOStatement::getColumnMeta [ext/pdo_sqlite/tests/pdo_022.phpt] XFAIL REASON: This feature is not yet finalized, no test makes sense updateTimestamp never called when session data is empty [ext/session/tests/user_session_module/bug71162.phpt] XFAIL REASON: Current session module is designed to write empty session always. In addition, current session module only supports SessionHandlerInterface only from PHP 7.0.
===================================================================== FAILED TEST SUMMARY
Bug #74090 stream_get_contents maxlength>-1 returns empty string on windows [ext/standard/tests/streams/bug74090.phpt]
===================================================================== TEST RESULT SUMMARY
Exts skipped : 47 (gmp, ftp, imap, dl_test, calendar, pspell, snmp, sysvshm, sockets, sysvmsg, intl, sysvsem, dba, ldap, skeleton, readline, mysqlnd, bz2, pdo_odbc, soap, zlib, pdo_mysql, zip, curl, enchant, tidy, oci8, pdo_pgsql, ffi, odbc, gettext, mysqli, exif, pgsql, zend_test, gd, sodium, pcntl, com_dotnet, shmop, openssl, xsl, bcmath, pdo_dblib, pdo_oci, pdo_firebird, mbstring) Exts tested : 26
Number of tests : 18568 12835 Tests skipped : 5733 ( 30.9%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 1 ( 0.0%) ( 0.0%) Expected fail : 7 ( 0.0%) ( 0.1%) Tests passed : 12827 ( 69.1%) ( 99.9%)
Time taken : 39 seconds
===================================================================== EXPECTED FAILED TEST SUMMARY
Test open_basedir configuration [tests/security/open_basedir_linkinfo.phpt] XFAIL REASON: BUG: open_basedir cannot delete symlink to prohibited file. See also bugs 48111 and 52176. Bug #42718 (unsafe_raw filter not applied when configured as default filter) [ext/filter/tests/bug42718.phpt] XFAIL REASON: FILTER_UNSAFE_RAW not applied when configured as default filter, even with flags Bug #67296 (filter_input doesn't validate variables) [ext/filter/tests/bug49184.phpt] XFAIL REASON: See Bug #49184 Bug #67167: filter_var(null,FILTER_VALIDATE_BOOLEAN,FILTER_NULL_ON_FAILURE) returns null [ext/filter/tests/bug67167.02.phpt] XFAIL REASON: Requires php_zval_filter to not use convert_to_string for all filters. Return type check elision [ext/opcache/tests/opt/verify_return_type.phpt] XFAIL REASON: Return types cannot be inferred through prototypes via [ext/pdo_sqlite/tests/common.phpt] SQLite PDO Common: PDOStatement::getColumnMeta [ext/pdo_sqlite/tests/pdo_022.phpt] XFAIL REASON: This feature is not yet finalized, no test makes sense updateTimestamp never called when session data is empty [ext/session/tests/user_session_module/bug71162.phpt] XFAIL REASON: Current session module is designed to write empty session always. In addition, current session module only supports SessionHandlerInterface only from PHP 7.0.
===================================================================== FAILED TEST SUMMARY
Bug #74090 stream_get_contents maxlength>-1 returns empty string on windows [ext/standard/tests/streams/bug74090.phpt]
================================================================================ /Users/msamgan/Projects/php-src/ext/standard/tests/streams/bug74090.phpt
bool(false)
001- bool(true) 001+ bool(false)
================================================================================
================================================================================ BUILD ENVIRONMENT
OS: Darwin - Darwin Mohammeds-MBP.hsd1.de.comcast.net 22.6.0 Darwin Kernel Version 22.6.0: Wed Jul 5 22:22:05 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T6000 arm64
Autoconf: autoconf (GNU Autoconf) 2.71 Copyright (C) 2021 Free Software Foundation, Inc. License GPLv3+/Autoconf: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html, https://gnu.org/licenses/exceptions.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
Written by David J. MacKenzie and Akim Demaille.
Bundled Libtool: ltmain.sh (GNU libtool) 1.5.26 (1.1220.2.492 2008/01/30 06:40:56)
Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
System Libtool: glibtool (GNU libtool) 2.4.7 Written by Gordon Matzigkeit, 1996
Copyright (C) 2014 Free Software Foundation, Inc.
Compiler: Apple clang version 14.0.3 (clang-1403.0.22.14.1) Target: arm64-apple-darwin22.6.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
Bison: bison (GNU Bison) 3.8.2 Written by Robert Corbett and Richard Stallman.
Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Libraries:
================================================================================ PHPINFO
phpinfo() PHP Version => 8.4.0-dev
System => Darwin Mohammeds-MBP.hsd1.de.comcast.net 22.6.0 Darwin Kernel Version 22.6.0: Wed Jul 5 22:22:05 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T6000 arm64 Build Date => Sep 1 2023 17:30:51 Build System => Darwin Mohammeds-MBP.hsd1.de.comcast.net 22.6.0 Darwin Kernel Version 22.6.0: Wed Jul 5 22:22:05 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T6000 arm64 Configure Command => './configure' '--enable-debug' '--with-iconv=/opt/homebrew/opt/libiconv' Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /usr/local/lib Loaded Configuration File => (none) Scan this dir for additional .ini files => (none) Additional .ini files parsed => (none) PHP API => 20230901 PHP Extension => 20230901 Zend Extension => 420230901 Zend Extension Build => API420230901,NTS,debug PHP Extension Build => API20230901,NTS,debug Debug Build => yes Thread Safety => disabled Zend Signal Handling => enabled Zend Memory Manager => enabled Zend Multibyte Support => disabled Zend Max Execution Timers => disabled IPv6 Support => enabled DTrace Support => disabled
Registered PHP Streams => php, file, glob, data, http, ftp, phar Registered Stream Socket Transports => tcp, udp, unix, udg Registered Stream Filters => convert.iconv., string.rot13, string.toupper, string.tolower, convert., consumed, dechunk
This program makes use of the Zend Scripting Language Engine: Zend Engine v4.4.0-dev, Copyright (c) Zend Technologies
Configuration
Core
PHP Version => 8.4.0-dev
Directive => Local Value => Master Value allow_url_fopen => On => On allow_url_include => Off => Off arg_separator.input => & => & arg_separator.output => & => & auto_append_file => no value => no value auto_globals_jit => On => On auto_prepend_file => no value => no value browscap => no value => no value default_charset => UTF-8 => UTF-8 default_mimetype => text/html => text/html disable_classes => no value => no value disable_functions => no value => no value display_errors => STDERR => STDERR display_startup_errors => On => On doc_root => no value => no value docref_ext => no value => no value docref_root => no value => no value enable_dl => On => On enable_post_data_reading => On => On error_append_string => no value => no value error_log => no value => no value error_log_mode => 0644 => 0644 error_prepend_string => no value => no value error_reporting => no value => no value expose_php => On => On extension_dir => /usr/local/lib/php/extensions/debug-non-zts-20230901 => /usr/local/lib/php/extensions/debug-non-zts-20230901 fiber.stack_size => no value => no value file_uploads => On => On hard_timeout => 2 => 2 highlight.comment => #FF8000 => #FF8000 highlight.default => #0000BB => #0000BB highlight.html => #000000 => #000000 highlight.keyword => #007700 => #007700 highlight.string => #DD0000 => #DD0000 html_errors => Off => Off ignore_repeated_errors => Off => Off ignore_repeated_source => Off => Off ignore_user_abort => Off => Off implicit_flush => On => On include_path => .: => .: input_encoding => no value => no value internal_encoding => no value => no value log_errors => Off => Off mail.add_x_header => Off => Off mail.force_extra_parameters => no value => no value mail.log => no value => no value mail.mixed_lf_and_crlf => Off => Off max_execution_time => 0 => 0 max_file_uploads => 20 => 20 max_input_nesting_level => 64 => 64 max_input_time => -1 => -1 max_input_vars => 1000 => 1000 max_multipart_body_parts => -1 => -1 memory_limit => 128M => 128M open_basedir => no value => no value output_buffering => 0 => 0 output_encoding => no value => no value output_handler => no value => no value post_max_size => 8M => 8M precision => 14 => 14 realpath_cache_size => 4096K => 4096K realpath_cache_ttl => 120 => 120 register_argc_argv => On => On report_memleaks => On => On report_zend_debug => Off => Off request_order => no value => no value sendmail_from => no value => no value sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i serialize_precision => -1 => -1 short_open_tag => On => On SMTP => localhost => localhost smtp_port => 25 => 25 sys_temp_dir => no value => no value syslog.facility => LOG_USER => LOG_USER syslog.filter => no-ctrl => no-ctrl syslog.ident => php => php unserialize_callback_func => no value => no value upload_max_filesize => 2M => 2M upload_tmp_dir => no value => no value user_dir => no value => no value user_ini.cache_ttl => 300 => 300 user_ini.filename => .user.ini => .user.ini variables_order => EGPCS => EGPCS xmlrpc_error_number => 0 => 0 xmlrpc_errors => Off => Off zend.assertions => 1 => 1 zend.detect_unicode => On => On zend.enable_gc => On => On zend.exception_ignore_args => Off => Off zend.exception_string_param_max_len => 15 => 15 zend.max_allowed_stack_size => 0 => 0 zend.multibyte => Off => Off zend.reserved_stack_size => 0 => 0 zend.script_encoding => no value => no value zend.signal_check => On => On
ctype
ctype functions => enabled
date
date/time support => enabled timelib version => 2022.09 "Olson" Timezone Database Version => 2023.3 Timezone Database => internal Default timezone => UTC
Directive => Local Value => Master Value date.default_latitude => 31.7667 => 31.7667 date.default_longitude => 35.2333 => 35.2333 date.sunrise_zenith => 90.833333 => 90.833333 date.sunset_zenith => 90.833333 => 90.833333 date.timezone => UTC => UTC
dom
DOM/XML => enabled DOM/XML API Version => 20031129 libxml Version => 2.9.13 HTML Support => enabled XPath Support => enabled XPointer Support => enabled Schema Support => enabled RelaxNG Support => enabled
fileinfo
fileinfo support => enabled libmagic => 543
filter
Input Validation and Filtering => enabled
Directive => Local Value => Master Value filter.default => unsafe_raw => unsafe_raw filter.default_flags => no value => no value
hash
hash support => enabled Hashing Engines => md2 md4 md5 sha1 sha224 sha256 sha384 sha512/224 sha512/256 sha512 sha3-224 sha3-256 sha3-384 sha3-512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru snefru256 gost gost-crypto adler32 crc32 crc32b crc32c fnv132 fnv1a32 fnv164 fnv1a64 joaat murmur3a murmur3c murmur3f xxh32 xxh64 xxh3 xxh128 haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5
iconv
iconv support => enabled iconv implementation => libiconv iconv library version => 1.17
Directive => Local Value => Master Value iconv.input_encoding => no value => no value iconv.internal_encoding => no value => no value iconv.output_encoding => no value => no value
json
json support => enabled
libxml
libXML support => active libXML Compiled Version => 2.9.13 libXML Loaded Version => 20913 libXML streams => enabled
pcre
PCRE (Perl Compatible Regular Expressions) Support => enabled PCRE Library Version => 10.40 2022-04-14 PCRE Unicode Version => 14.0.0 PCRE JIT Support => enabled PCRE JIT Target => ARM-64 64bit (little endian + unaligned)
Directive => Local Value => Master Value pcre.backtrack_limit => 1000000 => 1000000 pcre.jit => On => On pcre.recursion_limit => 100000 => 100000
PDO
PDO support => enabled PDO drivers => sqlite
pdo_sqlite
PDO Driver for SQLite 3.x => enabled SQLite Library => 3.39.5
Phar
Phar: PHP Archive support => enabled Phar API version => 1.1.1 Phar-based phar archives => enabled Tar-based phar archives => enabled ZIP-based phar archives => enabled gzip compression => disabled (install ext/zlib) bzip2 compression => disabled (install ext/bz2) OpenSSL support => disabled (install ext/openssl)
Phar based on pear/PHP_Archive, original concept by Davey Shafik. Phar fully realized by Gregory Beaver and Marcus Boerger. Portions of tar implementation Copyright (c) 2003-2009 Tim Kientzle. Directive => Local Value => Master Value phar.cache_list => no value => no value phar.readonly => On => On phar.require_hash => On => On
posix
POSIX support => enabled
random
Version => 8.4.0-dev
Reflection
Reflection => enabled
session
Session Support => enabled Registered save handlers => files user Registered serializer handlers => php_serialize php php_binary
Directive => Local Value => Master Value session.auto_start => Off => Off session.cache_expire => 180 => 180 session.cache_limiter => nocache => nocache session.cookie_domain => no value => no value session.cookie_httponly => Off => Off session.cookie_lifetime => 0 => 0 session.cookie_path => / => / session.cookie_samesite => no value => no value session.cookie_secure => Off => Off session.gc_divisor => 100 => 100 session.gc_maxlifetime => 1440 => 1440 session.gc_probability => 1 => 1 session.lazy_write => On => On session.name => PHPSESSID => PHPSESSID session.referer_check => no value => no value session.save_handler => files => files session.save_path => no value => no value session.serialize_handler => php => php session.sid_bits_per_character => 4 => 4 session.sid_length => 32 => 32 session.upload_progress.cleanup => On => On session.upload_progress.enabled => On => On session.upload_progress.freq => 1% => 1% session.upload_progress.min_freq => 1 => 1 session.upload_progress.name => PHP_SESSION_UPLOAD_PROGRESS => PHP_SESSION_UPLOAD_PROGRESS session.upload_progress.prefix => uploadprogress => uploadprogress session.use_cookies => On => On session.use_only_cookies => On => On session.use_strict_mode => Off => Off session.use_trans_sid => Off => Off
SimpleXML
SimpleXML support => enabled Schema support => enabled
SPL
SPL support => enabled Interfaces => OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject Classes => AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, CallbackFilterIterator, DirectoryIterator, DomainException, EmptyIterator, FilesystemIterator, FilterIterator, GlobIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, MultipleIterator, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveCallbackFilterIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RecursiveTreeIterator, RegexIterator, RuntimeException, SplDoublyLinkedList, SplFileInfo, SplFileObject, SplFixedArray, SplHeap, SplMinHeap, SplMaxHeap, SplObjectStorage, SplPriorityQueue, SplQueue, SplStack, SplTempFileObject, UnderflowException, UnexpectedValueException
sqlite3
SQLite3 support => enabled SQLite Library => 3.39.5
Directive => Local Value => Master Value sqlite3.defensive => On => On sqlite3.extension_dir => no value => no value
standard
Dynamic Library Support => enabled Path to sendmail => /usr/sbin/sendmail -t -i
Directive => Local Value => Master Value assert.active => On => On assert.bail => Off => Off assert.callback => no value => no value assert.exception => On => On assert.warning => On => On auto_detect_line_endings => Off => Off default_socket_timeout => 60 => 60 from => no value => no value session.trans_sid_hosts => no value => no value session.trans_sid_tags => a=href,area=href,frame=src,form= => a=href,area=href,frame=src,form= unserialize_max_depth => 4096 => 4096 url_rewriter.hosts => no value => no value url_rewriter.tags => form= => form= user_agent => no value => no value
tokenizer
Tokenizer Support => enabled
xml
XML Support => active XML Namespace Support => active libxml2 Version => 2.9.13
xmlreader
XMLReader => enabled
xmlwriter
XMLWriter => enabled
Additional Modules
Module Name
Environment
Variable => Value FIG_PID => 45353 LC_FIG_SET_PARENT => 082d4659-3587-4f1e-a8b0-010763ceb5cf MANPATH => /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/share/man:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/usr/share/man:/Applications/Xcode.app/Contents/Developer/usr/share/man:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/man: STARSHIP_SHELL => zsh TERM_PROGRAM => iTerm.app TEST_PHP_SRCDIR => /Users/msamgan/Projects/php-src SHELL => /bin/zsh TERM => xterm-256color MAKEFLAGS => TEST_PHP_ARGS=-j8 FIGTERM_SESSION_ID => 082d4659-3587-4f1e-a8b0-010763ceb5cf SSH_CLIENT => deleted TMPDIR => /var/folders/56/7kkbt5gj7jd33v1jjj47nlbh0000gn/T/ TEST_PHPDBG_EXECUTABLE => /Users/msamgan/Projects/php-src/sapi/phpdbg/phpdbg TERM_PROGRAM_VERSION => 3.4.20 TERM_SESSION_ID => w1t0p0:9B751F65-188C-4558-A35A-AE1BFB02D2AE SSH_TTY => deleted FIG_SET_PARENT_CHECK => 1 MAKEOVERRIDES => ${--command-variables--} USER => msamgan COMMAND_MODE => unix2003 SSH_AUTH_SOCK => deleted __CF_USER_TEXT_ENCODING => 0x1F5:0x0:0x0 HERD_PHP_82_INI_SCANDIR => /Users/msamgan/Library/Application Support/Herd/config/php/82/ MAKELEVEL => 1 MFLAGS =>
PATH => /Users/msamgan/Library/Application Support/Herd/bin/:/opt/homebrew/sbin:/opt/homebrew/sbin:/opt/homebrew/opt/bison/bin:/opt/homebrew/sbin:/Users/msamgan/Library/Python/3.9/bin:/Users/msamgan/.rubies/ruby-3.2.2/bin:/Users/msamgan/.composer/vendor/bin:/Users/msamgan/.local/bin:/opt/homebrew/bin:/Users/msamgan/Library/Application Support/Herd/bin/:/opt/homebrew/sbin:/opt/homebrew/sbin:/opt/homebrew/sbin:/Users/msamgan/Library/Python/3.9/bin:/Users/msamgan/.rubies/ruby-3.2.2/bin:/Users/msamgan/.composer/vendor/bin:/Users/msamgan/.local/bin:/opt/homebrew/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public:/Library/Apple/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/msamgan/.fig/bin:/Users/msamgan/.local/bin => /Users/msamgan/Projects/php-src/sapi/cli/php __CFBundleIdentifier => com.googlecode.iterm2 TTY => /dev/ttys003 PWD => /Users/msamgan/Projects/php-src TEST_PHP_CGI_EXECUTABLE => /Users/msamgan/Projects/php-src/sapi/cgi/php-cgi TEST_PHP_ARGS => -j8 LANG => en_US.UTF-8 TEST_PHP_EXECUTABLE => /Users/msamgan/Projects/php-src/sapi/cli/php ITERM_PROFILE => Default XPC_FLAGS => 0x0 TEST_PHPDBG_EXECUTABLE_ESCAPED => '/Users/msamgan/Projects/php-src/sapi/phpdbg/phpdbg' XPC_SERVICE_NAME => 0 HOME => /Users/msamgan SHLVL => 3 COLORFGBG => 7;0 TEST_PHP_EXECUTABLE_ESCAPED => '/Users/msamgan/Projects/php-src/sapi/cli/php' LC_TERMINAL_VERSION => 3.4.20 ITERM_SESSION_ID => w1t0p0:9B751F65-188C-4558-A35A-AE1BFB02D2AE FIG_SET_PARENT => 082d4659-3587-4f1e-a8b0-010763ceb5cf STARSHIP_SESSION_KEY => 2770624179225266 LOGNAME => msamgan SSH_CONNECTION => deleted TEST_PHP_CGI_EXECUTABLE_ESCAPED => '/Users/msamgan/Projects/php-src/sapi/cgi/php-cgi' LC_TERMINAL => iTerm2 CC => cc COLORTERM => truecolor FIG_TERM => 2.16.0
PHP Variables
Variable => Value $_SERVER['FIG_PID'] => 45353 $_SERVER['LC_FIG_SET_PARENT'] => 082d4659-3587-4f1e-a8b0-010763ceb5cf $_SERVER['MANPATH'] => /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/share/man:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/usr/share/man:/Applications/Xcode.app/Contents/Developer/usr/share/man:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/man: $_SERVER['STARSHIP_SHELL'] => zsh $_SERVER['TERM_PROGRAM'] => iTerm.app $_SERVER['TEST_PHP_SRCDIR'] => /Users/msamgan/Projects/php-src $_SERVER['SHELL'] => /bin/zsh $_SERVER['TERM'] => xterm-256color $_SERVER['MAKEFLAGS'] => TEST_PHP_ARGS=-j8 $_SERVER['FIGTERM_SESSION_ID'] => 082d4659-3587-4f1e-a8b0-010763ceb5cf $_SERVER['SSH_CLIENT'] => deleted $_SERVER['TMPDIR'] => /var/folders/56/7kkbt5gj7jd33v1jjj47nlbh0000gn/T/ $_SERVER['TEST_PHPDBG_EXECUTABLE'] => /Users/msamgan/Projects/php-src/sapi/phpdbg/phpdbg $_SERVER['TERM_PROGRAM_VERSION'] => 3.4.20 $_SERVER['TERM_SESSION_ID'] => w1t0p0:9B751F65-188C-4558-A35A-AE1BFB02D2AE $_SERVER['SSH_TTY'] => deleted $_SERVER['FIG_SET_PARENT_CHECK'] => 1 $_SERVER['MAKEOVERRIDES'] => ${--command-variables--} $_SERVER['USER'] => msamgan $_SERVER['COMMAND_MODE'] => unix2003 $_SERVER['SSH_AUTH_SOCK'] => deleted $_SERVER['__CF_USER_TEXT_ENCODING'] => 0x1F5:0x0:0x0 $_SERVER['HERD_PHP_82_INI_SCAN_DIR'] => /Users/msamgan/Library/Application Support/Herd/config/php/82/ $_SERVER['MAKELEVEL'] => 1 $_SERVER['MFLAGS'] => $_SERVER['PATH'] => /Users/msamgan/Library/Application Support/Herd/bin/:/opt/homebrew/sbin:/opt/homebrew/sbin:/opt/homebrew/opt/bison/bin:/opt/homebrew/sbin:/Users/msamgan/Library/Python/3.9/bin:/Users/msamgan/.rubies/ruby-3.2.2/bin:/Users/msamgan/.composer/vendor/bin:/Users/msamgan/.local/bin:/opt/homebrew/bin:/Users/msamgan/Library/Application Support/Herd/bin/:/opt/homebrew/sbin:/opt/homebrew/sbin:/opt/homebrew/sbin:/Users/msamgan/Library/Python/3.9/bin:/Users/msamgan/.rubies/ruby-3.2.2/bin:/Users/msamgan/.composer/vendor/bin:/Users/msamgan/.local/bin:/opt/homebrew/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public:/Library/Apple/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/msamgan/.fig/bin:/Users/msamgan/.local/bin $SERVER[''] => /Users/msamgan/Projects/php-src/sapi/cli/php $_SERVER['__CFBundleIdentifier'] => com.googlecode.iterm2 $_SERVER['TTY'] => /dev/ttys003 $_SERVER['PWD'] => /Users/msamgan/Projects/php-src $_SERVER['TEST_PHP_CGI_EXECUTABLE'] => /Users/msamgan/Projects/php-src/sapi/cgi/php-cgi $_SERVER['TEST_PHP_ARGS'] => -j8 $_SERVER['LANG'] => en_US.UTF-8 $_SERVER['TEST_PHP_EXECUTABLE'] => /Users/msamgan/Projects/php-src/sapi/cli/php $_SERVER['ITERM_PROFILE'] => Default $_SERVER['XPC_FLAGS'] => 0x0 $_SERVER['TEST_PHPDBG_EXECUTABLE_ESCAPED'] => '/Users/msamgan/Projects/php-src/sapi/phpdbg/phpdbg' $_SERVER['XPC_SERVICE_NAME'] => 0 $_SERVER['HOME'] => /Users/msamgan $_SERVER['SHLVL'] => 3 $_SERVER['COLORFGBG'] => 7;0 $_SERVER['TEST_PHP_EXECUTABLE_ESCAPED'] => '/Users/msamgan/Projects/php-src/sapi/cli/php' $_SERVER['LC_TERMINAL_VERSION'] => 3.4.20 $_SERVER['ITERM_SESSION_ID'] => w1t0p0:9B751F65-188C-4558-A35A-AE1BFB02D2AE $_SERVER['FIG_SET_PARENT'] => 082d4659-3587-4f1e-a8b0-010763ceb5cf $_SERVER['STARSHIP_SESSION_KEY'] => 2770624179225266 $_SERVER['LOGNAME'] => msamgan $_SERVER['SSH_CONNECTION'] => deleted $_SERVER['TEST_PHP_CGI_EXECUTABLE_ESCAPED'] => '/Users/msamgan/Projects/php-src/sapi/cgi/php-cgi' $_SERVER['LC_TERMINAL'] => iTerm2 $_SERVER['CC'] => cc $_SERVER['COLORTERM'] => truecolor $_SERVER['FIG_TERM'] => 2.16.0 $_SERVER['PHP_SELF'] => $_SERVER['SCRIPT_NAME'] => $_SERVER['SCRIPT_FILENAME'] => $_SERVER['PATH_TRANSLATED'] => $_SERVER['DOCUMENT_ROOT'] => $_SERVER['REQUEST_TIME_FLOAT'] => 1693603982.1277 $_SERVER['REQUEST_TIME'] => 1693603982 $_SERVER['argv'] => Array ( )
$_SERVER['argc'] => 0 $_ENV['FIG_PID'] => 45353 $_ENV['LC_FIG_SET_PARENT'] => 082d4659-3587-4f1e-a8b0-010763ceb5cf $_ENV['MANPATH'] => /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/share/man:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/usr/share/man:/Applications/Xcode.app/Contents/Developer/usr/share/man:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/man: $_ENV['STARSHIP_SHELL'] => zsh $_ENV['TERM_PROGRAM'] => iTerm.app $_ENV['TEST_PHP_SRCDIR'] => /Users/msamgan/Projects/php-src $_ENV['SHELL'] => /bin/zsh $_ENV['TERM'] => xterm-256color $_ENV['MAKEFLAGS'] => TEST_PHP_ARGS=-j8 $_ENV['FIGTERM_SESSION_ID'] => 082d4659-3587-4f1e-a8b0-010763ceb5cf $_ENV['SSH_CLIENT'] => deleted $_ENV['TMPDIR'] => /var/folders/56/7kkbt5gj7jd33v1jjj47nlbh0000gn/T/ $_ENV['TEST_PHPDBG_EXECUTABLE'] => /Users/msamgan/Projects/php-src/sapi/phpdbg/phpdbg $_ENV['TERM_PROGRAM_VERSION'] => 3.4.20 $_ENV['TERM_SESSION_ID'] => w1t0p0:9B751F65-188C-4558-A35A-AE1BFB02D2AE $_ENV['SSH_TTY'] => deleted $_ENV['FIG_SET_PARENT_CHECK'] => 1 $_ENV['MAKEOVERRIDES'] => ${--command-variables--} $_ENV['USER'] => msamgan $_ENV['COMMAND_MODE'] => unix2003 $_ENV['SSH_AUTH_SOCK'] => deleted $_ENV['__CF_USER_TEXT_ENCODING'] => 0x1F5:0x0:0x0 $_ENV['HERD_PHP_82_INI_SCAN_DIR'] => /Users/msamgan/Library/Application Support/Herd/config/php/82/ $_ENV['MAKELEVEL'] => 1 $_ENV['MFLAGS'] => $_ENV['PATH'] => /Users/msamgan/Library/Application Support/Herd/bin/:/opt/homebrew/sbin:/opt/homebrew/sbin:/opt/homebrew/opt/bison/bin:/opt/homebrew/sbin:/Users/msamgan/Library/Python/3.9/bin:/Users/msamgan/.rubies/ruby-3.2.2/bin:/Users/msamgan/.composer/vendor/bin:/Users/msamgan/.local/bin:/opt/homebrew/bin:/Users/msamgan/Library/Application Support/Herd/bin/:/opt/homebrew/sbin:/opt/homebrew/sbin:/opt/homebrew/sbin:/Users/msamgan/Library/Python/3.9/bin:/Users/msamgan/.rubies/ruby-3.2.2/bin:/Users/msamgan/.composer/vendor/bin:/Users/msamgan/.local/bin:/opt/homebrew/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public:/Library/Apple/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/msamgan/.fig/bin:/Users/msamgan/.local/bin $ENV[''] => /Users/msamgan/Projects/php-src/sapi/cli/php $_ENV['__CFBundleIdentifier'] => com.googlecode.iterm2 $_ENV['TTY'] => /dev/ttys003 $_ENV['PWD'] => /Users/msamgan/Projects/php-src $_ENV['TEST_PHP_CGI_EXECUTABLE'] => /Users/msamgan/Projects/php-src/sapi/cgi/php-cgi $_ENV['TEST_PHP_ARGS'] => -j8 $_ENV['LANG'] => en_US.UTF-8 $_ENV['TEST_PHP_EXECUTABLE'] => /Users/msamgan/Projects/php-src/sapi/cli/php $_ENV['ITERM_PROFILE'] => Default $_ENV['XPC_FLAGS'] => 0x0 $_ENV['TEST_PHPDBG_EXECUTABLE_ESCAPED'] => '/Users/msamgan/Projects/php-src/sapi/phpdbg/phpdbg' $_ENV['XPC_SERVICE_NAME'] => 0 $_ENV['HOME'] => /Users/msamgan $_ENV['SHLVL'] => 3 $_ENV['COLORFGBG'] => 7;0 $_ENV['TEST_PHP_EXECUTABLE_ESCAPED'] => '/Users/msamgan/Projects/php-src/sapi/cli/php' $_ENV['LC_TERMINAL_VERSION'] => 3.4.20 $_ENV['ITERM_SESSION_ID'] => w1t0p0:9B751F65-188C-4558-A35A-AE1BFB02D2AE $_ENV['FIG_SET_PARENT'] => 082d4659-3587-4f1e-a8b0-010763ceb5cf $_ENV['STARSHIP_SESSION_KEY'] => 2770624179225266 $_ENV['LOGNAME'] => msamgan $_ENV['SSH_CONNECTION'] => deleted $_ENV['TEST_PHP_CGI_EXECUTABLE_ESCAPED'] => '/Users/msamgan/Projects/php-src/sapi/cgi/php-cgi' $_ENV['LC_TERMINAL'] => iTerm2 $_ENV['CC'] => cc $_ENV['COLORTERM'] => truecolor $_ENV['FIG_TERM'] => 2.16.0
PHP License This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact license@php.net.
PHP Version
php 8.2
Operating System
Mac OS 13.5.1