3v4l.org

run code in 300+ PHP versions simultaneously
<?php $path = "/home/sjon/phpshell/root/php-5.5.0/lib/php/extensions/no-debug-non-zts-20121212/vld.so"; //$dir = dir($path); try { $file = new \SplFileObject($path, 'r'); } catch (Exception $e) { echo $e->getMessage(); exit; } var_dump($file->isFile()); exit;; while (($entry = $dir->read()) !== false) { var_dump($entry); try { $file = new \SplFileObject($path. $entry, 'r'); } catch (Exception $e) { continue; } var_dump($file->isFile()); }
Output for git.master, git.master_jit, rfc.property-hooks
SplFileObject::__construct(): open_basedir restriction in effect. File(/home/sjon/phpshell/root/php-5.5.0/lib/php/extensions/no-debug-non-zts-20121212/vld.so) is not within the allowed path(s): (/tmp:/in:/etc)

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:
59.88 ms | 401 KiB | 8 Q