3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tempStyleArray = preg_split( "/[:;]+/", "width: 569px; height: 26.456692913px; margin: 0px; border: 2px solid black;" ); var_dump($tempStyleArray); $key = array_search('height', $tempStyleArray); echo $key;
Output for git.master, git.master_jit, rfc.property-hooks
array(9) { [0]=> string(5) "width" [1]=> string(6) " 569px" [2]=> string(7) " height" [3]=> string(15) " 26.456692913px" [4]=> string(7) " margin" [5]=> string(4) " 0px" [6]=> string(7) " border" [7]=> string(16) " 2px solid black" [8]=> string(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:
39.64 ms | 401 KiB | 8 Q