3v4l.org

run code in 300+ PHP versions simultaneously
<?php $paragraph = "Lorem Ipsum is simply (not 1.2%) dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s"; $arr = preg_split("/\.\s?(?=[A-Z])/", $paragraph); var_dump($arr);
Output for git.master, git.master_jit, rfc.property-hooks
array(4) { [0]=> string(84) "Lorem Ipsum is simply (not 1.2%) dummy text of the printing and typesetting industry" [1]=> string(169) "Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book" [2]=> string(119) "It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged" [3]=> string(31) "It was popularised in the 1960s" }

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:
29.39 ms | 407 KiB | 5 Q