3v4l.org

run code in 300+ PHP versions simultaneously
<?php class CacheabilityMetadata {} class_alias('CacheabilityMetadata', 'CacheableMetadata'); class SomethingElse {} function f(CacheabilityMetadata $m) {} function g(CacheableMetadata $m) {} f(new CacheabilityMetadata); f(new CacheableMetadata); g(new CacheabilityMetadata); g(new CacheableMetadata); f(new SomethingElse);

preferences:
34.09 ms | 404 KiB | 5 Q