3v4l.org

run code in 300+ PHP versions simultaneously
<?php $subject = <<<STR Turicum was a Swiss automobile manufactured between 1904 and 1906 in Zurich, 1907 till 1912 in Uster. Turicum is the Latin name of Zurich. The first car made by Martin Fischer was a small single-seater go-kart like vehicle, 140 cm long, with pedal-operated steering and powered by a motorcycle engine. It had chain drive but a second prototype had friction drive. The friction drive consisted of a flat steel disc coupled to the engine which drove a small, leather-covered wheel running at right angles to its surface. The small wheel could be moved across the surface of the large disc, giving an infinitely variable gear ratio. They attracted little public interest. The Swiss industrialist Jakob Heusser was also involved to establish the car manufacturer. STR; $pattern = '%[.] %'; $result = preg_split($pattern, $subject); var_dump($result);
Output for 7.1.25 - 7.1.28, 7.2.0 - 7.2.33, 7.3.0 - 7.3.24, 7.4.0 - 7.4.12, 8.0.0
array(8) { [0]=> string(100) "Turicum was a Swiss automobile manufactured between 1904 and 1906 in Zurich, 1907 till 1912 in Uster" [1]=> string(35) "Turicum is the Latin name of Zurich" [2]=> string(161) "The first car made by Martin Fischer was a small single-seater go-kart like vehicle, 140 cm long, with pedal-operated steering and powered by a motorcycle engine" [3]=> string(60) "It had chain drive but a second prototype had friction drive" [4]=> string(153) "The friction drive consisted of a flat steel disc coupled to the engine which drove a small, leather-covered wheel running at right angles to its surface" [5]=> string(109) "The small wheel could be moved across the surface of the large disc, giving an infinitely variable gear ratio" [6]=> string(37) "They attracted little public interest" [7]=> string(90) "The Swiss industrialist Jakob Heusser was also involved to establish the car manufacturer." }