Skip to content

Instantly share code, notes, and snippets.

@iggyvolz
Created July 28, 2020 18:34
Show Gist options
  • Save iggyvolz/96b7b55f7c6c368de2f8ccc883da0174 to your computer and use it in GitHub Desktop.
Save iggyvolz/96b7b55f7c6c368de2f8ccc883da0174 to your computer and use it in GitHub Desktop.
zend_extension=opcache.so
opcache.enable=1
opcache.enable_cli=1
extension=parallel.so
opcache.preload=preloaded.php
<?php
echo "Executing Preloader".PHP_EOL;
class a
{
public static $b="foo";
}
<?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