3v4l.org

run code in 300+ PHP versions simultaneously
<?php $txt = "A man’s jacket is of green color. He – the biggest star in modern history – rides bikes very fast (230 km per hour). How is it possible?! What kind of bike is he using? The semi-automatic gear of his bike, which is quite expensive, significantly helps to reach that speed. Some (or maybe many) claim that he is the fastest in the world! “I saw him ride the bike!” Mr. John Deer speaks. “The speed he sets is 133.78 kilometers per hour,” which sounds incredible; sounds deceiving."; $txtArray = explode(' ', $txt); var_dump($txtArray);
Output for git.master, git.master_jit, rfc.property-hooks
array(88) { [0]=> string(1) "A" [1]=> string(7) "man’s" [2]=> string(6) "jacket" [3]=> string(2) "is" [4]=> string(2) "of" [5]=> string(5) "green" [6]=> string(6) "color." [7]=> string(2) "He" [8]=> string(3) "–" [9]=> string(3) "the" [10]=> string(7) "biggest" [11]=> string(4) "star" [12]=> string(2) "in" [13]=> string(6) "modern" [14]=> string(7) "history" [15]=> string(3) "–" [16]=> string(5) "rides" [17]=> string(5) "bikes" [18]=> string(4) "very" [19]=> string(4) "fast" [20]=> string(4) "(230" [21]=> string(2) "km" [22]=> string(3) "per" [23]=> string(6) "hour)." [24]=> string(3) "How" [25]=> string(2) "is" [26]=> string(2) "it" [27]=> string(10) "possible?!" [28]=> string(4) "What" [29]=> string(4) "kind" [30]=> string(2) "of" [31]=> string(4) "bike" [32]=> string(2) "is" [33]=> string(2) "he" [34]=> string(6) "using?" [35]=> string(3) "The" [36]=> string(14) "semi-automatic" [37]=> string(4) "gear" [38]=> string(2) "of" [39]=> string(3) "his" [40]=> string(5) "bike," [41]=> string(5) "which" [42]=> string(2) "is" [43]=> string(5) "quite" [44]=> string(10) "expensive," [45]=> string(13) "significantly" [46]=> string(5) "helps" [47]=> string(2) "to" [48]=> string(5) "reach" [49]=> string(4) "that" [50]=> string(6) "speed." [51]=> string(4) "Some" [52]=> string(3) "(or" [53]=> string(5) "maybe" [54]=> string(5) "many)" [55]=> string(5) "claim" [56]=> string(4) "that" [57]=> string(2) "he" [58]=> string(2) "is" [59]=> string(3) "the" [60]=> string(7) "fastest" [61]=> string(2) "in" [62]=> string(3) "the" [63]=> string(6) "world!" [64]=> string(4) "“I" [65]=> string(3) "saw" [66]=> string(3) "him" [67]=> string(4) "ride" [68]=> string(3) "the" [69]=> string(8) "bike!”" [70]=> string(3) "Mr." [71]=> string(4) "John" [72]=> string(4) "Deer" [73]=> string(7) "speaks." [74]=> string(6) "“The" [75]=> string(5) "speed" [76]=> string(2) "he" [77]=> string(4) "sets" [78]=> string(2) "is" [79]=> string(6) "133.78" [80]=> string(10) "kilometers" [81]=> string(3) "per" [82]=> string(8) "hour,”" [83]=> string(5) "which" [84]=> string(6) "sounds" [85]=> string(11) "incredible;" [86]=> string(6) "sounds" [87]=> string(10) "deceiving." }

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:
53.16 ms | 409 KiB | 8 Q