3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = <<<EOD data:text/base64:MSwgMSwgMSwgMSwgJ1l1bGlhbmEgQXJyZWRvbmRvJywgJ01pIHJhesOzbiBzb2NpYWwnLCAnc250QHNudC5zbnQnLCAnYW9lYW9lYW9lMScsICdhdmF0YXJfNTY2MjdlYjdlYTE3NC5wbmcnLCAnQ1VJSDkwMDQxOVJDNCcsICcyMDE1LTEyLTA5JywgJzIwMTUtMTItMjMnLCAnMjAxNS0xMi0wMScsICdTWVNURU0tQ1NWJw0KMSwgMSwgMSwgMSwgJ0VkdWFyZG8gZGUgbGEgQ3J1eicsICdNaSByYXrDs24gc29jaWFsJywgJ3NudEBzbnQuc250JywgJ2FvZWFvZWFvZTEnLCAnYXZhdGFyXzU2NjI3ZWI3ZWExNzQucG5nJywgJ0NVSUg5MDA0MTlSQzYnLCAnMjAxNS0xMi0wOScsICcyMDE1LTEyLTIzJywgJzIwMTUtMTItMDEnLCAnU1lTVEVNLUNTVic= EOD; $b64 = $request->input('file'); $pos = strpos($b64, ';'); if($pos !== false){ $b64 = base64_decode(preg_replace('#^data:text/\w+;base64,#i', '', $b64)); } $array = str_getcsv($b64);
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $request in /in/DonjA on line 5 Fatal error: Uncaught Error: Call to a member function input() on null in /in/DonjA:5 Stack trace: #0 {main} thrown in /in/DonjA on line 5
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
56.85 ms | 401 KiB | 8 Q