3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $file = new SplFileObject('php://filter/read=string.rot13|string.toupper/resource=foo.bar');
based on 9XQqk
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught RuntimeException: SplFileObject::__construct(php://filter/read=string.rot13|string.toupper/resource=foo.bar): failed to open stream: operation failed in /in/VAlP4:2 Stack trace: #0 /in/VAlP4(2): SplFileObject->__construct('php://filter/re...') #1 {main} thrown in /in/VAlP4 on line 2
Process exited with code 255.
Output for 5.3.21 - 5.6.28
Fatal error: Uncaught exception 'RuntimeException' with message 'SplFileObject::__construct(php://filter/read=string.rot13|string.toupper/resource=foo.bar): failed to open stream: operation failed' in /in/VAlP4:2 Stack trace: #0 /in/VAlP4(2): SplFileObject->__construct('php://filter/re...') #1 {main} thrown in /in/VAlP4 on line 2
Process exited with code 255.