3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = str_repeat('a', 1024 * 1024); // $str = str_repeat('a', 1024); $temp = preg_replace('#.*?^-+[^-]+-+[\r\n ]*$#ms', '', $str, 1); if (preg_last_error() == PREG_BACKTRACK_LIMIT_ERROR) { echo "Backtrack limit was exhausted!\n\n"; } echo strlen($temp);
Output for rfc.property-hooks, git.master, git.master_jit
Backtrack limit was exhausted! Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /in/02cQ8 on line 12 0

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:
43.05 ms | 1499 KiB | 4 Q