mirror of
https://github.com/php/php-src.git
synced 2026-04-22 23:48:14 +02:00
54668a449e
We should only disable early binding during the opcache_compile_file() calls, not inside the preloading script or anything it includes. The right condition to check for is whether we compile the file without execution, as declaring classes is "execution".
4 lines
34 B
PHP
4 lines
34 B
PHP
<?php
|
|
var_dump(new X);
|
|
class X {}
|