php-src
php-src copied to clipboard
The PHP Interpreter
### Description The following code: ```php b = $b; $b->a = $a; } function failySoapCall() { try { new SoapClient('https://nowhere.inexistent.space/?WSDL'); } catch (Exception) { echo "Soap call failed\n"; } }...
### Description On a `Dom\XMLDocument`, a successful `C14NFile()` leaves the document changed and leaks memory. The following code: ```php C14NFile(__DIR__ . '/out.xml')); echo $doc->saveXml(), "\n"; ``` Resulted in this output:...
### Description Currently these cases create an interned string: ```php $strInternedA = "A my valid string A"; $strInternedB = "B my valid" . " string B"; ``` Whereas these cases...
### Description Reduced from testing the read/write/unread/eof sequence of a string-buffer class (no external code; the class below only keeps a few private fields and does the same bookkeeping, nothing...
### Description Category: NULL pointer dereference (SEGV READ @0x10); CWE-476. Context: document-style SoapServer; the WSDL operation declares two request elements (tns:a, tns:b) while the SOAP request Body contains only the...
### Description Since "Refresh zend_mm shadow key on fork" (commit c561f7da85, from #16765; in 8.5, not in 8.4), a child created by `pcntl_fork()` runs `php_child_init()` → `refresh_memory_manager()` → `zend_mm_refresh_key_child()` before...
ext/openssl: 8.2.31+/8.3.31+ fail to build against OpenSSL 1.0.2 (ASN1_STRING_get0_data in xp_ssl.c)
### Description PHP 8.2.31+ and 8.3.31+ no longer compile against OpenSSL 1.0.2, though both branches still accept it (`ext/openssl/config0.m4`: "requires OpenSSL >= 1.0.2"). To reproduce, build PHP 8.3.36 (or any...
### Description This is the case from #23921, which was closed by 3bb50c13a7a but still reproduces. When the `error_reporting` directive is unset, a fiber starts at level 0, so warnings...
### Description With `opcache.jit=tracing` on PHP 8.3, a call passes the wrong value for an argument when: - the callee is not known at compile time (a closure, a function...
### Description The following code: ```php