3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'Epoxy coating Floors epoxy Epoxy floor finish Floor epoxy coating Epoxy coating floor Coatings floor Floor epoxy coatings Epoxy for floors Epoxy flooring Epoxy floor Epoxy floors Epoxy floor coatings Floor coatings Floor coating Epoxy resurfacer Garage epoxy coating Epoxy coating for concrete floors Epoxy coating specialists Epoxy coating for floors Epoxy coating for commercial floors Industrial epoxy coating Epoxy coating for chicken houses Epoxy flooring system Epoxy flooring contractors Industrial epoxy flooring Houston epoxy flooring Concrete epoxy flooring Phoenix epoxy flooring Epoxy flooring for National epoxy flooring business Epoxy flooring solutions Epoxy flooring florida Garland epoxy flooring Epoxy flooring commercial Epoxy flooring restaurant Epoxy flooring pricing Dallas epoxy flooring Carolina epoxy flooring Antistatic epoxy flooring Professional epoxy floor Performance epoxy floors Epoxy floor work Epoxy floor testing Epoxy flooring kemah texas Epoxy flooring contractors pune Epoxy flooring contractor Raleigh Virginia epoxy floor coating Midwest epoxy floor coating Epoxy floors for restaurants Expert epoxy floor coatings Michigan'; $count = strlen($string); $i = 0; $ii = 0; while($i < $count) { $char = $string{$i}; if(ereg("[A-Z]", $char, $val)){ $ii++; $strings[$ii] .= $char; } else { $strings[$ii] .= $char; } $i++; } var_dump($strings);
Output for git.master, git.master_jit
Fatal error: Array and string offset access syntax with curly braces is no longer supported in /in/rvHQQ on line 60
Process exited with code 255.
Output for rfc.property-hooks
Parse error: syntax error, unexpected token "{" in /in/rvHQQ on line 60
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:
43.89 ms | 401 KiB | 8 Q