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 6AJHB
Output for 7.2.1
159768
Output for 7.0.2, 7.0.15, 7.2.0
157836
Output for 7.1.13
163968
Output for 7.0.1, 7.1.12
164052
Output for 7.0.25, 7.1.11
161532
Output for 7.1.10
159600
Output for 5.6.20, hhvm-3.22.0, 7.1.9
160272
Output for 7.1.4, 7.1.8
163380
Output for 7.1.7
157920
Output for 5.6.21, 7.0.21, 7.1.6
158256
Output for 7.1.5
162792
Output for 7.0.13, 7.1.3
161616
Output for 7.1.2
140154
Output for 7.1.1
154308
Output for 7.1.0
152208
Output for 5.6.29, 7.0.27
158340
Output for 7.0.26
159264
Output for 7.0.24
143262
Output for 5.6.12, 5.6.17, 7.0.23
161196
Output for 7.0.22
152166
Output for 5.6.4, 5.6.11, 7.0.4, 7.0.20
162624
Output for 7.0.19
155988
Output for 7.0.18
136122
Output for 7.0.17
153048
Output for 7.0.16
161280
Output for 7.0.14
153258
Output for 7.0.12
145656
Output for 7.0.11
159180
Output for 7.0.10
148050
Output for 7.0.9
153216
Output for 7.0.8
154896
Output for 7.0.7
157584
Output for 7.0.6
154938
Output for 7.0.5
164220
Output for 7.0.3
159684
Output for 5.6.16, 7.0.0
159012
Output for hhvm-3.21.3
162204
Output for hhvm-3.18.5
163296
Output for 5.6.26, 5.6.30
163632
Output for 5.6.28
162960
Output for 5.6.27
158172
Output for 5.6.25
152922
Output for 5.6.24
162036
Output for 5.6.23
164136
Output for 5.6.22
158928
Output for 5.6.19
162876
Output for 5.6.18
145572
Output for 5.6.15
162372
Output for 5.6.14
161112
Output for 5.6.13
141330
Output for 5.6.10
135366
Output for 5.6.9
147630
Output for 5.6.8
158844
Output for 5.6.7
158004
Output for 5.6.6
163044
Output for 5.6.5
162120
Output for 5.6.3
161448
Output for 5.6.2
158424
Output for 5.6.1
152460
Output for 5.6.0
158802