3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = rand(1337,2600)*42; $b = rand(1879,1955)*42; $a < $b ? $a ^= $b ^= $a ^= $b : $a = $b; echo $a+$b;
based on vDX2C
Output for 7.2.1
151956
Output for 7.1.8, 7.2.0
161784
Output for 7.1.13
154938
Output for 7.1.12
144564
Output for 7.1.11
161700
Output for 7.1.10
138642
Output for 5.6.10, 7.1.9
164136
Output for 7.1.7
137172
Output for 5.6.18, 7.1.6
158172
Output for 7.1.5
162876
Output for 5.6.3, 7.0.18, 7.1.3 - 7.1.4
159684
Output for 7.1.2
163800
Output for 7.1.1
163128
Output for 7.1.0
161112
Output for 7.0.27
158088
Output for 7.0.26
163380
Output for 7.0.25
161196
Output for 7.0.23 - 7.0.24
158676
Output for 7.0.22
161364
Output for 7.0.21
150948
Output for hhvm-3.21.3, 7.0.20
163044
Output for 7.0.19
163884
Output for 7.0.17
139608
Output for 7.0.16
150444
Output for 5.6.22, 7.0.15
161532
Output for 5.6.2, 7.0.14
160524
Output for 7.0.13
137718
Output for 7.0.12
146916
Output for 7.0.11
151158
Output for 7.0.10
143598
Output for 7.0.9
152712
Output for 7.0.8
162624
Output for 7.0.7
144228
Output for 7.0.6
140448
Output for 7.0.5
154098
Output for 7.0.4
160944
Output for 7.0.3
160356
Output for 7.0.2
162540
Output for 5.6.7, 5.6.23, 7.0.1
161280
Output for 7.0.0
159012
Output for hhvm-3.22.0
160272
Output for hhvm-3.18.5
142590
Output for 5.6.30
148218
Output for 5.6.29
159516
Output for 5.6.28
162792
Output for 5.6.27
138810
Output for 5.6.26
157920
Output for 5.6.25
159432
Output for 5.6.24
146412
Output for 5.6.21
159348
Output for 5.6.20
147126
Output for 5.6.19
139440
Output for 5.6.17
161952
Output for 5.6.16
159264
Output for 5.6.15
136668
Output for 5.6.14
140364
Output for 5.6.13
159096
Output for 5.6.12
155946
Output for 5.6.11
162960
Output for 5.6.9
135744
Output for 5.6.8
156786
Output for 5.6.6
158844
Output for 5.6.5
158592
Output for 5.6.4
158508
Output for 5.6.1
136332
Output for 5.6.0
156954