3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array( 0 => '.', 1 => '..', 2 => '_BACKUP', 3 => '_global.xml', 4 => '_icon', 5 => '_images', 6 => '_languages', 7 => '_settings.xml', 8 => '_sound', 9 => '_video', 10 => '_xml', 11 => 'fischerwirt.xls', 12 => 'panorama', 13 => 'thumbs', ); preg_match('.xls',$array);
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught TypeError: preg_match(): Argument #2 ($subject) must be of type string, array given in /in/8kSSR:19 Stack trace: #0 /in/8kSSR(19): preg_match('.xls', Array) #1 {main} thrown in /in/8kSSR on line 19
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.61 ms | 401 KiB | 8 Q