3v4l.org

run code in 200+ PHP versions simultaneously
<?php $item = array( 'image 6 alt', 'image 6 title', 'public:///image.png', ); $values = array ( 'fid' => '2', 'uid' => '0', 'filename' => 'image.png', 'uri' => 'public:///image.png', 'filemime' => 'image/png', 'filesize' => '333', 'status' => '1', 'timestamp' => '1541320113', 'alt' => ' image 6 alt', 'title' => ' image 6 title', 'width' => '140', 'height' => '100', ); foreach ($item as $value) { debug(in_array($value, $values)); }

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

Output for Typed properties v2
Fatal error: Uncaught Error: Call to undefined function debug() in /in/XMf2i:23 Stack trace: #0 {main} thrown in /in/XMf2i on line 23
Process exited with code 255.

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