3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo rand(1,49).'<br>'.rand(1,49).'<br>'.rand(1,49).'<br>'.rand(1,49).'<br>'.rand(1,49).'<br>'.rand(1,49) ?>
Output for 7.1.0
34<br>43<br>6<br>14<br>41<br>40
Output for 7.0.14
45<br>21<br>36<br>18<br>19<br>35
Output for 7.0.10
25<br>43<br>32<br>44<br>31<br>47
Output for 7.0.9
40<br>49<br>48<br>29<br>22<br>14
Output for 7.0.8
31<br>1<br>9<br>17<br>44<br>10
Output for 7.0.7
1<br>24<br>22<br>17<br>6<br>11
Output for 7.0.6
4<br>22<br>3<br>28<br>31<br>48
Output for 7.0.5
1<br>30<br>28<br>8<br>11<br>38
Output for 7.0.4
7<br>49<br>27<br>44<br>15<br>39
Output for 7.0.3
16<br>46<br>30<br>36<br>1<br>4
Output for 7.0.2
3<br>6<br>39<br>24<br>8<br>49
Output for 7.0.1
5<br>6<br>39<br>23<br>39<br>12
Output for 7.0.0
37<br>5<br>22<br>6<br>38<br>5
Output for hhvm-3.12.0
19<br>7<br>33<br>46<br>33<br>5
Output for hhvm-3.10.0
28<br>19<br>48<br>32<br>8<br>43
Output for 5.6.28
24<br>45<br>37<br>30<br>23<br>19
Output for 5.6.25
34<br>43<br>9<br>28<br>21<br>29
Output for 5.6.24
11<br>20<br>20<br>6<br>6<br>5
Output for 5.6.23
2<br>30<br>30<br>31<br>17<br>40
Output for 5.6.22
18<br>32<br>35<br>46<br>46<br>23
Output for 5.6.21
22<br>20<br>37<br>35<br>26<br>8
Output for 5.6.20
33<br>45<br>5<br>36<br>21<br>25
Output for 5.6.19
12<br>7<br>5<br>8<br>40<br>28
Output for 5.6.18
11<br>41<br>6<br>31<br>32<br>13
Output for 5.6.17
20<br>30<br>13<br>41<br>4<br>6
Output for 5.6.16
42<br>39<br>14<br>11<br>21<br>45
Output for 5.6.15
38<br>38<br>18<br>3<br>25<br>42
Output for 5.6.14
19<br>44<br>3<br>30<br>41<br>47
Output for 5.6.13
33<br>29<br>3<br>30<br>16<br>38
Output for 5.6.12
8<br>11<br>13<br>30<br>12<br>48
Output for 5.6.11
44<br>4<br>1<br>27<br>16<br>5
Output for 5.6.10
42<br>47<br>30<br>30<br>13<br>16
Output for 5.6.9
21<br>25<br>4<br>25<br>27<br>19
Output for 5.6.8
4<br>18<br>28<br>12<br>49<br>38
Output for 5.6.7
11<br>25<br>36<br>1<br>8<br>19
Output for 5.6.6
32<br>30<br>32<br>21<br>7<br>29
Output for 5.6.5
1<br>31<br>17<br>15<br>31<br>41
Output for 5.6.4
33<br>31<br>5<br>22<br>35<br>4
Output for 5.6.3
8<br>19<br>11<br>13<br>13<br>32
Output for 5.6.2
27<br>33<br>17<br>33<br>40<br>20
Output for 5.6.1
27<br>1<br>45<br>9<br>19<br>31
Output for 5.6.0
29<br>23<br>46<br>36<br>37<br>44
Output for 5.5.38
41<br>16<br>13<br>49<br>16<br>23
Output for 5.5.37
38<br>20<br>41<br>35<br>39<br>25
Output for 5.5.36
49<br>8<br>24<br>37<br>39<br>6
Output for 5.5.35
40<br>46<br>38<br>41<br>6<br>43
Output for 5.5.34
36<br>4<br>11<br>13<br>11<br>44
Output for 5.5.33
4<br>20<br>29<br>38<br>29<br>19
Output for 5.5.32
44<br>8<br>4<br>25<br>3<br>33
Output for 5.5.31
32<br>42<br>44<br>5<br>20<br>33
Output for 5.5.30
5<br>9<br>14<br>8<br>31<br>19
Output for 5.5.29
11<br>29<br>21<br>34<br>35<br>28
Output for 5.5.28
7<br>11<br>27<br>45<br>6<br>20
Output for 5.5.27
2<br>20<br>29<br>43<br>16<br>13
Output for 5.5.26
26<br>28<br>26<br>44<br>25<br>22
Output for 5.5.25
2<br>20<br>37<br>24<br>44<br>23
Output for 5.5.24
18<br>19<br>40<br>24<br>25<br>22
Output for 5.5.23
24<br>47<br>20<br>3<br>42<br>41
Output for 5.5.22
35<br>35<br>44<br>1<br>12<br>23
Output for 5.5.21
26<br>6<br>41<br>25<br>34<br>23
Output for 5.5.20
36<br>11<br>18<br>3<br>22<br>8
Output for 5.5.19
11<br>49<br>4<br>20<br>2<br>42
Output for 5.5.18
42<br>40<br>23<br>29<br>25<br>10
Output for 5.5.16
2<br>34<br>13<br>11<br>49<br>19
Output for 5.5.15
12<br>41<br>45<br>4<br>22<br>38
Output for 5.5.14
20<br>22<br>39<br>11<br>38<br>30
Output for 5.5.13
22<br>20<br>9<br>1<br>42<br>11
Output for 5.5.12
10<br>1<br>1<br>23<br>22<br>39
Output for 5.5.11
37<br>8<br>26<br>46<br>27<br>35
Output for 5.5.10
37<br>18<br>26<br>23<br>36<br>2
Output for 5.5.9
42<br>41<br>37<br>28<br>2<br>13
Output for 5.5.8
22<br>21<br>45<br>32<br>19<br>17
Output for 5.5.7
38<br>49<br>28<br>36<br>13<br>20
Output for 5.5.6
9<br>39<br>29<br>36<br>9<br>38
Output for 5.5.5
34<br>1<br>37<br>10<br>19<br>3
Output for 5.5.4
32<br>27<br>47<br>17<br>44<br>45
Output for 5.5.3
15<br>39<br>19<br>2<br>33<br>23
Output for 5.5.2
17<br>32<br>31<br>31<br>48<br>17
Output for 5.5.1
10<br>12<br>20<br>44<br>13<br>22
Output for 5.5.0
27<br>44<br>13<br>6<br>41<br>20
Output for 5.4.45
5<br>43<br>26<br>47<br>46<br>46
Output for 5.4.44
16<br>17<br>28<br>39<br>28<br>34
Output for 5.4.43
46<br>34<br>46<br>11<br>8<br>4
Output for 5.4.42
36<br>16<br>17<br>1<br>6<br>49
Output for 5.4.41
32<br>3<br>30<br>14<br>3<br>26
Output for 5.4.40
8<br>6<br>47<br>47<br>8<br>49
Output for 5.4.39
2<br>40<br>48<br>47<br>18<br>18
Output for 5.4.38
17<br>2<br>44<br>1<br>38<br>16
Output for 5.4.37
34<br>40<br>36<br>23<br>24<br>8
Output for 5.4.36
22<br>42<br>42<br>32<br>4<br>45
Output for 5.4.35
29<br>4<br>27<br>12<br>6<br>30
Output for 5.4.34
34<br>28<br>22<br>37<br>32<br>30
Output for 5.4.32
35<br>13<br>13<br>3<br>34<br>7
Output for 5.4.31
29<br>11<br>47<br>17<br>44<br>46
Output for 5.4.30
41<br>1<br>46<br>24<br>49<br>42
Output for 5.4.29
15<br>29<br>48<br>26<br>20<br>3
Output for 5.4.28
18<br>22<br>16<br>33<br>7<br>42
Output for 5.4.27
19<br>15<br>8<br>25<br>31<br>31
Output for 5.4.26
23<br>7<br>46<br>36<br>30<br>21
Output for 5.4.25
10<br>43<br>12<br>7<br>13<br>9
Output for 5.4.24
3<br>45<br>49<br>49<br>21<br>8
Output for 5.4.23
26<br>24<br>26<br>1<br>22<br>38
Output for 5.4.22
5<br>47<br>38<br>35<br>32<br>38
Output for 5.4.21
42<br>25<br>1<br>33<br>48<br>45
Output for 5.4.20
27<br>9<br>4<br>16<br>29<br>8
Output for 5.4.19
12<br>42<br>48<br>8<br>25<br>26
Output for 5.4.18
2<br>4<br>38<br>40<br>35<br>31
Output for 5.4.17
28<br>10<br>48<br>3<br>47<br>18
Output for 5.4.16
45<br>27<br>8<br>2<br>5<br>29
Output for 5.4.15
48<br>49<br>22<br>9<br>1<br>49
Output for 5.4.14
18<br>2<br>21<br>40<br>32<br>46
Output for 5.4.13
46<br>35<br>2<br>34<br>5<br>30
Output for 5.4.12
27<br>6<br>8<br>2<br>36<br>30
Output for 5.4.11
25<br>41<br>28<br>43<br>5<br>28
Output for 5.4.10
43<br>11<br>29<br>44<br>38<br>18
Output for 5.4.9
26<br>29<br>34<br>15<br>12<br>44
Output for 5.4.8
28<br>8<br>11<br>7<br>36<br>49
Output for 5.4.7
22<br>43<br>30<br>12<br>38<br>18
Output for 5.4.6
2<br>17<br>28<br>37<br>41<br>43
Output for 5.4.5
40<br>38<br>11<br>23<br>7<br>44
Output for 5.4.4
13<br>5<br>27<br>45<br>13<br>44
Output for 5.4.3
18<br>24<br>21<br>31<br>14<br>26
Output for 5.4.2
32<br>11<br>25<br>1<br>8<br>27
Output for 5.4.1
30<br>33<br>14<br>13<br>9<br>14
Output for 5.4.0
13<br>10<br>18<br>20<br>45<br>14
Output for 5.3.29
32<br>20<br>20<br>36<br>27<br>1
Output for 5.3.28
47<br>19<br>35<br>45<br>22<br>49
Output for 5.3.27
13<br>49<br>2<br>13<br>24<br>8
Output for 5.3.26
24<br>6<br>10<br>13<br>15<br>34
Output for 5.3.25
48<br>17<br>43<br>13<br>49<br>37
Output for 5.3.24
18<br>22<br>26<br>1<br>10<br>27
Output for 5.3.23
38<br>28<br>8<br>23<br>14<br>42
Output for 5.3.22
6<br>30<br>49<br>24<br>25<br>38
Output for 5.3.21
11<br>41<br>30<br>25<br>25<br>45
Output for 5.3.20
37<br>25<br>8<br>25<br>36<br>4
Output for 5.3.19
3<br>8<br>45<br>1<br>24<br>5
Output for 5.3.18
43<br>12<br>2<br>30<br>3<br>41
Output for 5.3.17
1<br>26<br>31<br>45<br>24<br>3
Output for 5.3.16
29<br>7<br>31<br>6<br>44<br>21
Output for 5.3.15
4<br>28<br>5<br>1<br>13<br>3
Output for 5.3.14
47<br>43<br>20<br>14<br>41<br>19
Output for 5.3.13
21<br>21<br>42<br>19<br>10<br>26
Output for 5.3.12
27<br>49<br>10<br>40<br>49<br>42
Output for 5.3.11
46<br>12<br>20<br>41<br>14<br>27
Output for 5.3.10
9<br>44<br>33<br>10<br>11<br>38
Output for 5.3.9
45<br>44<br>9<br>7<br>3<br>14
Output for 5.3.8
25<br>27<br>37<br>17<br>28<br>36
Output for 5.3.7
38<br>18<br>36<br>1<br>30<br>22
Output for 5.3.6
31<br>24<br>3<br>45<br>7<br>12
Output for 5.3.5
4<br>27<br>39<br>13<br>14<br>42
Output for 5.3.4
12<br>33<br>9<br>44<br>4<br>49
Output for 5.3.3
1<br>49<br>32<br>31<br>10<br>49
Output for 5.3.2
49<br>39<br>46<br>37<br>33<br>4
Output for 5.3.1
35<br>15<br>19<br>1<br>6<br>45
Output for 5.3.0
5<br>11<br>6<br>29<br>5<br>49
Output for 5.2.17
40<br>29<br>42<br>45<br>1<br>36
Output for 5.2.16
3<br>46<br>47<br>19<br>5<br>11
Output for 5.2.15
17<br>41<br>47<br>7<br>32<br>23
Output for 5.2.14
13<br>32<br>32<br>41<br>35<br>47
Output for 5.2.13
6<br>23<br>32<br>38<br>38<br>20
Output for 5.2.12
10<br>25<br>38<br>27<br>4<br>10
Output for 5.2.11
49<br>28<br>2<br>9<br>38<br>36
Output for 5.2.10
37<br>31<br>42<br>44<br>2<br>27
Output for 5.2.9
12<br>8<br>15<br>7<br>29<br>16
Output for 5.2.8
5<br>47<br>39<br>39<br>28<br>21
Output for 5.2.7
14<br>43<br>9<br>7<br>29<br>2
Output for 5.2.6
45<br>23<br>6<br>38<br>36<br>23
Output for 5.2.5
43<br>1<br>44<br>1<br>49<br>26
Output for 5.2.4
4<br>46<br>35<br>20<br>35<br>28
Output for 5.2.3
9<br>12<br>1<br>39<br>25<br>45
Output for 5.2.2
17<br>2<br>38<br>45<br>24<br>27
Output for 5.2.1
31<br>39<br>43<br>26<br>3<br>38
Output for 5.2.0
25<br>20<br>27<br>26<br>12<br>43
Output for 5.1.6
42<br>2<br>12<br>36<br>26<br>31
Output for 5.1.5
43<br>1<br>34<br>45<br>5<br>12
Output for 5.1.4
28<br>44<br>2<br>21<br>11<br>17
Output for 5.1.3
33<br>17<br>44<br>42<br>45<br>49
Output for 5.1.2
38<br>36<br>36<br>28<br>17<br>14
Output for 5.1.1
17<br>45<br>18<br>35<br>24<br>29
Output for 5.1.0
15<br>32<br>16<br>8<br>9<br>39
Output for 5.0.5
35<br>27<br>9<br>41<br>21<br>29
Output for 5.0.4
8<br>22<br>32<br>7<br>34<br>34
Output for 5.0.3
14<br>2<br>31<br>21<br>24<br>20
Output for 5.0.2
26<br>41<br>47<br>1<br>8<br>37
Output for 5.0.1
40<br>44<br>40<br>35<br>1<br>1
Output for 5.0.0
15<br>12<br>26<br>28<br>38<br>10
Output for 4.4.9
36<br>35<br>39<br>30<br>4<br>41
Output for 4.4.8
34<br>32<br>35<br>39<br>3<br>46
Output for 4.4.7
4<br>4<br>11<br>47<br>22<br>39
Output for 4.4.6
29<br>13<br>23<br>30<br>19<br>12
Output for 4.4.5
16<br>19<br>21<br>49<br>27<br>47
Output for 4.4.4
43<br>8<br>36<br>25<br>3<br>8
Output for 4.4.3
20<br>31<br>4<br>41<br>5<br>25
Output for 4.4.2
40<br>13<br>42<br>46<br>40<br>28
Output for 4.4.1
31<br>4<br>45<br>40<br>30<br>31
Output for 4.4.0
46<br>34<br>18<br>28<br>41<br>31
Output for 4.3.11
2<br>4<br>48<br>24<br>30<br>40
Output for 4.3.10
49<br>3<br>47<br>6<br>8<br>21
Output for 4.3.9
20<br>35<br>39<br>32<br>23<br>14
Output for 4.3.8
48<br>11<br>30<br>33<br>47<br>19
Output for 4.3.7
19<br>20<br>3<br>5<br>40<br>28
Output for 4.3.6
21<br>6<br>35<br>2<br>9<br>31
Output for 4.3.5
28<br>49<br>21<br>6<br>3<br>17
Output for 4.3.4
42<br>36<br>6<br>3<br>2<br>44
Output for 4.3.3
40<br>15<br>39<br>17<br>32<br>38
Output for 4.3.2
37<br>35<br>9<br>22<br>6<br>20
Output for 4.3.1
12<br>43<br>13<br>27<br>1<br>24
Output for 4.3.0
4<br>49<br>45<br>33<br>34<br>7