3v4l.org

run code in 300+ PHP versions simultaneously
<?php $haystackfff = file ("http://www.ikalender.com/kalender-singandgroove/mein-kalender.sp.14.html?&modus=liste" , FILE_IGNORE_NEW_LINES ); $haystackff = array_splice($haystackfff, 93); $haystackf = array_map('strip_tags', $haystackff); $haystack = array_map('trim', $haystackf); $needle = "Trommelsamstag" ; $newArray = array_keys( $haystack , $needle ); foreach ($newArray as $key => $value) { echo " $key - <strong>($value )</strong> <br />" ; }
Output for git.master, git.master_jit
Warning: file(): php_network_getaddresses: getaddrinfo for www.ikalender.com failed: System error in /in/jae4F on line 2 Warning: file(http://www.ikalender.com/kalender-singandgroove/mein-kalender.sp.14.html?&modus=liste): Failed to open stream: php_network_getaddresses: getaddrinfo for www.ikalender.com failed: System error in /in/jae4F on line 2 Fatal error: Uncaught TypeError: array_splice(): Argument #1 ($array) must be of type array, bool given in /in/jae4F:3 Stack trace: #0 /in/jae4F(3): array_splice(false, 93) #1 {main} thrown in /in/jae4F on line 3
Process exited with code 255.
Output for rfc.property-hooks
Warning: file(): php_network_getaddresses: getaddrinfo for www.ikalender.com failed: System error in /in/jae4F on line 2 Warning: file(http://www.ikalender.com/kalender-singandgroove/mein-kalender.sp.14.html?&modus=liste): Failed to open stream: php_network_getaddresses: getaddrinfo for www.ikalender.com failed: System error in /in/jae4F on line 2 Fatal error: Uncaught TypeError: array_splice(): Argument #1 ($array) must be of type array, false given in /in/jae4F:3 Stack trace: #0 /in/jae4F(3): array_splice(false, 93) #1 {main} thrown in /in/jae4F on line 3
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:
39.66 ms | 401 KiB | 8 Q