3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for ($i=1; $i<=5; $i++) { print rand() . "<br>"; } ?>
Output for 7.1.0
245984871<br>1125417697<br>1756616045<br>354292204<br>1280659918<br>
Output for 7.0.14
1654998884<br>1575443546<br>2016476562<br>1821376096<br>1710310252<br>
Output for 7.0.6
520882891<br>665789150<br>146692474<br>141833836<br>1845725058<br>
Output for 7.0.5
702481782<br>2056991270<br>1538724553<br>179151418<br>1673243623<br>
Output for 7.0.4
228620552<br>1305343471<br>774907068<br>316629724<br>1427102377<br>
Output for 7.0.3
361420526<br>1694167772<br>1747769400<br>1022492431<br>242790387<br>
Output for 7.0.2
430122539<br>1168133558<br>881897871<br>1834252723<br>1275326326<br>
Output for 7.0.1
1478218036<br>1021444864<br>2145526952<br>1791454057<br>1629694864<br>
Output for 7.0.0
1473521119<br>342664783<br>820083885<br>414648458<br>2096924395<br>
Output for hhvm-3.12.0
558799715<br>820383788<br>1907392215<br>1046683184<br>1981186625<br>
Output for hhvm-3.10.0
18876892<br>34577582<br>1506661399<br>957504197<br>1961891334<br>
Output for 5.6.28
1679305840<br>631865091<br>785171350<br>1800672988<br>2071677021<br>
Output for 5.6.21
1227293593<br>608609064<br>423190047<br>733201292<br>306484978<br>
Output for 5.6.20
1698649753<br>373899626<br>1455334364<br>240968768<br>1824322285<br>
Output for 5.6.19
1160249744<br>1954254462<br>1971230033<br>1021259652<br>286627041<br>
Output for 5.6.18
832660601<br>167453334<br>507335822<br>338085716<br>984746938<br>
Output for 5.6.17
1605894396<br>434853202<br>1328315844<br>1732891474<br>646915000<br>
Output for 5.6.16
1067881653<br>845942823<br>1792461143<br>1920113616<br>1252540347<br>
Output for 5.6.15
1548316212<br>1079966136<br>1180211777<br>1037205974<br>165903042<br>
Output for 5.6.14
1773343834<br>1644349995<br>1932075810<br>1058131299<br>602686120<br>
Output for 5.6.13
2012179833<br>119355495<br>1001018173<br>207784006<br>1918703647<br>
Output for 5.6.12
2058318103<br>1985795497<br>1306553821<br>234926393<br>2049701441<br>
Output for 5.6.11
2008348005<br>127857344<br>2066210251<br>2100413732<br>1914926294<br>
Output for 5.6.10
292195266<br>1252710544<br>1738682568<br>1640876815<br>2121001816<br>
Output for 5.6.9
1053875522<br>1539510661<br>436477825<br>2019342558<br>424569447<br>
Output for 5.6.8
1953708308<br>410169164<br>2141280689<br>1753295180<br>1099590884<br>
Output for 5.5.35
209233653<br>1781506302<br>987522210<br>1376501010<br>1300664096<br>
Output for 5.5.34
1704608971<br>1307062026<br>166997448<br>636120528<br>2011053900<br>
Output for 5.5.33
1379822490<br>1886973691<br>146541281<br>246057844<br>563983732<br>
Output for 5.5.32
1702258983<br>369801481<br>409938841<br>2009644995<br>909574270<br>
Output for 5.5.31
2143676246<br>2027877507<br>2019154156<br>1544769100<br>450633641<br>
Output for 5.5.30
1112933233<br>108624885<br>1047084316<br>1429152249<br>986095579<br>
Output for 5.5.29
324474795<br>739439435<br>1548176528<br>1904214269<br>455804936<br>
Output for 5.5.28
959146693<br>1672748938<br>2066619258<br>686718289<br>568569371<br>
Output for 5.5.27
256633660<br>1427310414<br>596374462<br>1710736668<br>468404053<br>
Output for 5.5.26
684726581<br>493983685<br>1771248911<br>215725082<br>855437247<br>
Output for 5.5.25
1785130596<br>1607608907<br>1085931825<br>741351028<br>424161111<br>
Output for 5.5.24
173957433<br>1521898955<br>571168827<br>660668184<br>1052078877<br>
Output for 5.4.45
967534205<br>842982104<br>2143050296<br>934998905<br>1395177242<br>
Output for 5.4.44
1186943993<br>1744661483<br>323933076<br>1566699981<br>1293319486<br>
Output for 5.4.43
998885910<br>1894052940<br>147611978<br>183341153<br>794842569<br>
Output for 5.4.42
1515928312<br>327446966<br>1730636221<br>415796317<br>767683104<br>
Output for 5.4.41
1818627040<br>616651045<br>805469678<br>571230850<br>1798057307<br>
Output for 5.4.40
846008355<br>1853325872<br>1485467200<br>844577135<br>501933704<br>
Output for 5.4.39
905382379<br>26672108<br>343461844<br>1479750816<br>794158858<br>
Output for 5.4.38
1011214109<br>2079368913<br>754991795<br>162773181<br>1170171112<br>
Output for 5.4.37
455640898<br>652289403<br>573160690<br>1231456405<br>295491268<br>
Output for 5.4.36
68143309<br>1669822331<br>2109102948<br>1436920138<br>3367870<br>
Output for 5.4.35
1348405353<br>1775158177<br>532977880<br>528197247<br>1634464048<br>
Output for 5.4.34
999887648<br>1376182252<br>127516440<br>1300150523<br>1306988392<br>
Output for 5.4.32
1540797804<br>447416873<br>719721483<br>840452896<br>1750991598<br>
Output for 5.4.31
500706055<br>449418230<br>1224495034<br>249334912<br>359003981<br>
Output for 5.4.30
316642450<br>2074794715<br>1698017292<br>341560344<br>977286712<br>
Output for 5.4.29
588243678<br>1935066733<br>1579797128<br>1795747292<br>1961276696<br>
Output for 5.4.28
1561287720<br>492900589<br>2020893638<br>2100424857<br>1124780377<br>
Output for 5.4.27
2142978169<br>1144815138<br>1176706796<br>414278258<br>1956787837<br>
Output for 5.4.26
262287499<br>1324334768<br>473777483<br>1421548743<br>1196549645<br>
Output for 5.4.25
1450934273<br>1076747828<br>114155392<br>843553316<br>1498523466<br>
Output for 5.4.24
979591315<br>1815631616<br>749440270<br>2116853895<br>780381878<br>
Output for 5.4.23
924038659<br>2046477508<br>1294743739<br>896391538<br>2065053372<br>
Output for 5.4.22
1402804911<br>1750046456<br>875239153<br>1242679306<br>734307298<br>
Output for 5.4.21
1281408557<br>2118045897<br>1623428840<br>1043381812<br>828544837<br>
Output for 5.4.20
397358216<br>1508114410<br>484997197<br>1916429901<br>523957149<br>
Output for 5.4.19
407652142<br>1033101777<br>1235117974<br>1372286239<br>1108556684<br>
Output for 5.4.18
696494970<br>1173693360<br>463668409<br>1347275694<br>1358412123<br>
Output for 5.4.17
1704323974<br>1881567903<br>1150337402<br>461063227<br>2115728471<br>
Output for 5.4.16
1473266173<br>1162388336<br>46901547<br>1509859270<br>1101895497<br>
Output for 5.4.15
1651957161<br>186096282<br>742785102<br>1403566603<br>646723295<br>
Output for 5.4.14
740492351<br>1421018585<br>1737647411<br>1106065264<br>1801906101<br>
Output for 5.4.13
128882657<br>1432499602<br>1190676290<br>913906332<br>2033904817<br>
Output for 5.4.12
1196335942<br>814567380<br>1829584967<br>1032337225<br>365518615<br>
Output for 5.4.11
483674053<br>892979952<br>1462016154<br>342911318<br>406322167<br>
Output for 5.4.10
579082486<br>960529974<br>1251092751<br>501759633<br>310390655<br>
Output for 5.4.9
207859456<br>1681673903<br>225831196<br>67173443<br>1619616925<br>
Output for 5.4.8
70917910<br>149932149<br>1474066130<br>1512118220<br>194512813<br>
Output for 5.4.7
159142264<br>705341894<br>1960884193<br>468068605<br>375885309<br>
Output for 5.4.6
1896289506<br>29589054<br>1790605662<br>952430684<br>132463726<br>
Output for 5.4.5
1441451357<br>1422518030<br>628872551<br>1929664699<br>1242093512<br>
Output for 5.4.4
2020292483<br>2084787520<br>812671971<br>1653983242<br>1411524168<br>
Output for 5.4.3
2590643<br>285445410<br>1356759963<br>627387731<br>864068190<br>
Output for 5.4.2
1583423002<br>1850730156<br>715400716<br>250225223<br>422781957<br>
Output for 5.4.1
1683794206<br>594968418<br>830340217<br>752949764<br>1018710813<br>
Output for 5.4.0
920433514<br>1134291720<br>167725136<br>163718865<br>1270018811<br>
Output for 5.3.29
1893741500<br>2019254343<br>800836299<br>1371189570<br>566971525<br>
Output for 5.3.28
1997552068<br>60656283<br>1296642225<br>2059265176<br>1114541940<br>
Output for 5.3.27
1468855776<br>673034088<br>1940835421<br>526714847<br>1868650230<br>
Output for 5.3.26
190614875<br>1698554693<br>72648860<br>1572199489<br>1934045640<br>
Output for 5.3.25
1704108298<br>114478752<br>2101122706<br>1033217562<br>416008925<br>
Output for 5.3.24
1252532997<br>699378200<br>1050779341<br>1504733685<br>846895458<br>
Output for 5.3.23
374804578<br>1240578913<br>1661502222<br>1665786571<br>1119069354<br>
Output for 5.3.22
1770695614<br>1169856233<br>698528260<br>493229513<br>1391008500<br>
Output for 5.3.21
370844446<br>1813934982<br>237209268<br>1212559044<br>1333219862<br>
Output for 5.3.20
274656835<br>308764421<br>910667228<br>126817850<br>1663434933<br>
Output for 5.3.19
2118826714<br>555318206<br>1485355251<br>981468731<br>1839722735<br>
Output for 5.3.18
828096047<br>862059617<br>304364640<br>1587572554<br>510254419<br>
Output for 5.3.17
882191395<br>760924359<br>325830458<br>416669298<br>954772037<br>
Output for 5.3.16
1116732912<br>1049487677<br>830658223<br>911360323<br>1959013479<br>
Output for 5.3.15
1508974658<br>6824774<br>1602307447<br>931417337<br>2137004039<br>
Output for 5.3.14
979374711<br>1905394344<br>1962667340<br>1294413907<br>243784723<br>
Output for 5.3.13
938273812<br>299907348<br>1284028879<br>2023047171<br>32228669<br>
Output for 5.3.12
552434588<br>259139092<br>63883704<br>1856118907<br>1508727819<br>
Output for 5.3.11
830699720<br>557973154<br>1983473100<br>361585211<br>158091747<br>
Output for 5.3.10
2070591347<br>1413925966<br>401388492<br>230714794<br>1911154568<br>
Output for 5.3.9
827822702<br>408552880<br>1644976008<br>1038634380<br>734221349<br>
Output for 5.3.8
564913771<br>1983067090<br>628675221<br>392928201<br>897213593<br>
Output for 5.3.7
1154230986<br>1967799575<br>1089707334<br>517385805<br>7653315<br>
Output for 5.3.6
1096020732<br>43376369<br>2041483281<br>1946013085<br>646828308<br>
Output for 5.3.5
1557974412<br>446268676<br>683177056<br>861513730<br>1232822913<br>
Output for 5.3.4
321001005<br>513265259<br>775074532<br>1533721558<br>848368077<br>
Output for 5.2.17
1707963219<br>250354459<br>893882852<br>2034220196<br>2085543987<br>
Output for 5.2.16
42366271<br>313639703<br>1417300286<br>1220860982<br>211518336<br>
Output for 5.2.15
1919375007<br>1003227322<br>621024244<br>746990711<br>801101384<br>