3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Palindrome { public static function isPalindrome($str) { $s = preg_replace('/^[^A-Za-z]/', '', $str); echo $s; throw new Exception('Not implemented'); } } // For testing purposes (do not submit uncommented): echo Palindrome::isPalindrome('Noel sees Leon.');
Output for git.master, git.master_jit, rfc.property-hooks
Noel sees Leon. Fatal error: Uncaught Exception: Not implemented in /in/IvElF:8 Stack trace: #0 /in/IvElF(13): Palindrome::isPalindrome('Noel sees Leon.') #1 {main} thrown in /in/IvElF on line 8
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:
46.83 ms | 401 KiB | 8 Q