3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<html> <head> <title>Online PHP Script Execution</title> </head> <body> <?php $string = 'eyJIVFRQX0hPU1QiOiIxOTIuMTY4LjAuOCIsIkhUVFBfQ09OTkVDVElPTiI6ImtlZXAtYWxpdmUiLCJDT05URU5UX0xFTkdUSCI6IjU3IiwiSFRUUF9BQ0NFUFQiOiIqXC8qIiwiSFRUUF9PUklHSU4iOiJodHRwOlwvXC8xOTIuMTY4LjAuOCIsIkhUVFBfWF9SRVFVRVNURURfV0lUSCI6IlhNTEh0dHBSZXF1ZXN0IiwiSFRUUF9VU0VSX0FHRU5UIjoiTW96aWxsYVwvNS4wIChXaW5kb3dzIE5UIDYuMzsgV09XNjQpIEFwcGxlV2ViS2l0XC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWVcLzMzLjAuMTc1MC4xNTQgU2FmYXJpXC81MzcuMzYiLCJDT05URU5UX1RZUEUiOiJhcHBsaWNhdGlvblwveC13d3ctZm9ybS11cmxlbmNvZGVkOyBjaGFyc2V0PVVURi04IiwiSFRUUF9SRUZFUkVSIjoiaHR0cDpcL1wvMTkyLjE2OC4wLjhcL1NFXC9sb2dpblwvIiwiSFRUUF9BQ0NFUFRfRU5DT0RJTkciOiJnemlwLGRlZmxhdGUsc2RjaCIsIkhUVFBfQUNDRVBUX0xBTkdVQUdFIjoiZW4tVVMsZW47cT0wLjgsZXM7cT0wLjYsZ2w7cT0wLjQiLCJIVFRQX0NPT0tJRSI6IlBIUFNFU1NJRD0wa3Q0a20zc3ExdmlvazJlM2hiMzRmanVuNyIsIlBBVEgiOiJcL3VzclwvbG9jYWxcL2JpbjpcL3VzclwvYmluOlwvYmluIiwiU0VSVkVSX1NJR05BVFVSRSI6IiIsIlNFUlZFUl9TT0ZUV0FSRSI6IkFwYWNoZVwvMi40LjYgKFVidW50dSkgUEhQXC81LjUuOC0zK3N1cnkub3JnfnJhcmluZysxIiwiU0VSVkVSX05BTUUiOiIxOTIuMTY4LjAuOCIsIlNFUlZFUl9BRERSIjoiMTkyLjE2OC4wLjgiLCJTRVJWRVJfUE9SVCI6IjgwIiwiUkVNT1RFX0FERFIiOiIxOTIuMTY4LjAuNiIsIkRPQ1VNRU5UX1JPT1QiOiJcL3Zhclwvd3d3IiwiUkVRVUVTVF9TQ0hFTUUiOiJodHRwIiwiQ09OVEVYVF9QUkVGSVgiOiIiLCJDT05URVhUX0RPQ1VNRU5UX1JPT1QiOiJcL3Zhclwvd3d3IiwiU0VSVkVSX0FETUlOIjoid2VibWFzdGVyQGxvY2FsaG9zdCIsIlNDUklQVF9GSUxFTkFNRSI6IlwvdmFyXC93d3dcL1NFXC9sb2dpblwvcHJvY2Vzcy5waHAiLCJSRU1PVEVfUE9SVCI6IjE0NTMwIiwiR0FURVdBWV9JTlRFUkZBQ0UiOiJDR0lcLzEuMSIsIlNFUlZFUl9QUk9UT0NPTCI6IkhUVFBcLzEuMSIsIlJFUVVFU1RfTUVUSE9EIjoiUE9TVCIsIlFVRVJZX1NUUklORyI6IiIsIlJFUVVFU1RfVVJJIjoiXC9TRVwvbG9naW5cL3Byb2Nlc3MucGhwIiwiU0NSSVBUX05BTUUiOiJcL1NFXC9sb2dpblwvcHJvY2Vzcy5waHAiLCJQSFBfU0VMRiI6IlwvU0VcL2xvZ2luXC9wcm9jZXNzLnBocCIsIlJFUVVFU1RfVElNRV9GTE9BVCI6MTM5NTYzMzM3My43NDIsIlJFUVVFU1RfVElNRSI6MTM5NTYzMzM3M30='; //echo base64_decode($string); ?> <p title="<?php echo json_decode(base64_decode($string)); ?>"> Hola</p> </body> </html>
Output for 7.1.0
<html> <head> <title>Online PHP Script Execution</title> </head> <body> <p title=" Recoverable fatal error: Object of class stdClass could not be converted to string in /in/AvGeb on line 10
Process exited with code 255.
Output for 5.2.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.0.14
<html> <head> <title>Online PHP Script Execution</title> </head> <body> <p title=" Catchable fatal error: Object of class stdClass could not be converted to string in /in/AvGeb on line 10
Process exited with code 255.
Output for 5.0.0 - 5.1.6
<html> <head> <title>Online PHP Script Execution</title> </head> <body> <p title=" Fatal error: Call to undefined function json_decode() in /in/AvGeb on line 10
Process exited with code 255.
Output for 4.4.5 - 4.4.9
<html> <head> <title>Online PHP Script Execution</title> </head> <body> <p title=" Fatal error: Call to undefined function: json_decode() in /in/AvGeb on line 10
Process exited with code 255.
Output for 4.3.2 - 4.4.4
<html> <head> <title>Online PHP Script Execution</title> </head> <body> <p title=" Fatal error: Call to undefined function: json_decode() in /in/AvGeb on line 10
Process exited with code 255.
Output for 4.3.0 - 4.3.1
<html> <head> <title>Online PHP Script Execution</title> </head> <body> <p title=" Fatal error: Call to undefined function: json_decode() in /in/AvGeb on line 10