Created
July 28, 2020 18:34
-
-
Save iggyvolz/96b7b55f7c6c368de2f8ccc883da0174 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zend_extension=opcache.so | |
opcache.enable=1 | |
opcache.enable_cli=1 | |
extension=parallel.so | |
opcache.preload=preloaded.php |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
echo "Executing Preloader".PHP_EOL; | |
class a | |
{ | |
public static $b="foo"; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
parallel\run(function(){ | |
var_dump(a::$b); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment