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 trpPV
Output for 7.2.1
144564
Output for 7.0.25, 7.2.0
163296
Output for 5.6.23, 7.1.13
159012
Output for 7.1.12
158676
Output for 7.1.11
160356
Output for 5.6.10, 5.6.16, 7.1.10
158172
Output for 7.1.9
163632
Output for 7.0.19, 7.1.8
159852
Output for 5.6.30, 7.0.13, 7.0.22, 7.1.7
157836
Output for 7.1.6
158256
Output for 7.1.5
136878
Output for 7.1.4
161028
Output for 7.1.3
152544
Output for hhvm-3.21.3, 7.0.0, 7.0.14, 7.1.2
161700
Output for 5.6.2, 7.1.1
158844
Output for 5.6.13, 7.1.0
159936
Output for 7.0.27
153678
Output for 7.0.26
136836
Output for 7.0.24
145152
Output for 7.0.23
162624
Output for 7.0.21
137592
Output for 7.0.20
147966
Output for 7.0.18
160104
Output for 7.0.17
159768
Output for 5.6.28, 7.0.16
161952
Output for 7.0.15
160860
Output for 5.6.29, 7.0.12
161112
Output for 7.0.11
144900
Output for 5.6.12, 7.0.10
160188
Output for 7.0.1, 7.0.9
162792
Output for 7.0.8
162120
Output for 7.0.7
154560
Output for 7.0.6
147882
Output for 7.0.5
162708
Output for 5.6.19, 7.0.4
157920
Output for 7.0.3
163380
Output for 7.0.2
161280
Output for hhvm-3.22.0
159096
Output for hhvm-3.18.5
161196
Output for 5.6.27
163044
Output for 5.6.26
138390
Output for 5.6.25
156870
Output for 5.6.24
144186
Output for 5.6.22
161868
Output for 5.6.21
156450
Output for 5.6.20
159264
Output for 5.6.18
158928
Output for 5.6.17
139860
Output for 5.6.15
161784
Output for 5.6.14
158592
Output for 5.6.11
160272
Output for 5.6.9
159348
Output for 5.6.8
160440
Output for 5.6.7
158508
Output for 5.6.6
164136
Output for 5.6.5
153762
Output for 5.6.4
141036
Output for 5.6.3
163464
Output for 5.6.1
161364
Output for 5.6.0
163800