3v4l.org

run code in 300+ PHP versions simultaneously
<?php $my_thing = "thisismy.image.jpg"; $last_dot = strrpos($my_thing, "."); $ext = substr($my_thing, $last_dot); print_r(str_split($my_thing));
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => t [1] => h [2] => i [3] => s [4] => i [5] => s [6] => m [7] => y [8] => . [9] => i [10] => m [11] => a [12] => g [13] => e [14] => . [15] => j [16] => p [17] => g )

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:
51.9 ms | 402 KiB | 8 Q