3v4l.org

run code in 300+ PHP versions simultaneously
<?php print readfile('/proc/uptime'); print 'test2';
Output for 8.0.0 - 8.0.12, 8.0.14 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
Warning: readfile(): open_basedir restriction in effect. File(/proc/uptime) is not within the allowed path(s): (/tmp:/in:/etc) in /in/5fveG on line 3 Warning: readfile(/proc/uptime): Failed to open stream: Operation not permitted in /in/5fveG on line 3 test2
Output for 8.0.13
Warning: readfile(/proc/uptime): Failed to open stream: No such file or directory in /in/5fveG on line 3 test2
Output for 7.3.32 - 7.3.33, 7.4.33
Warning: readfile(/proc/uptime): failed to open stream: No such file or directory in /in/5fveG on line 3 test2
Output for 7.1.26 - 7.1.33, 7.2.17 - 7.2.33, 7.3.0 - 7.3.31, 7.4.0 - 7.4.32
Warning: readfile(): open_basedir restriction in effect. File(/proc/uptime) is not within the allowed path(s): (/tmp:/in:/etc) in /in/5fveG on line 3 Warning: readfile(/proc/uptime): failed to open stream: Operation not permitted in /in/5fveG on line 3 test2
Output for 7.1.20, 7.2.6
Warning: readfile(): open_basedir restriction in effect. File(/proc/uptime) is not within the allowed path(s): (/tmp:/in) in /in/5fveG on line 3 Warning: readfile(/proc/uptime): failed to open stream: Operation not permitted in /in/5fveG on line 3 test2
Output for 7.2.0
267985.68 2059169.19 21test2
Output for 7.1.10
280231.06 1603735.74 21test2
Output for 7.1.7
3782444.08 26513629.54 23test2
Output for 7.1.6
2306806.44 16123511.25 23test2
Output for 7.1.5
2683837.56 18670300.66 23test2
Output for 7.1.0
95700.49 725202.79 19test2
Output for 7.0.20
2515580.72 17558612.76 23test2
Output for 7.0.6
322349.28 3595258.16 21test2
Output for 7.0.5
1936768.31 19816415.99 23test2
Output for 7.0.4
2774926.30 28540253.51 23test2
Output for 7.0.3
606605.52 6205224.59 21test2
Output for 7.0.2
974600.36 9999592.35 21test2
Output for 7.0.1
1072221.88 10992131.58 23test2
Output for 7.0.0
1334622.30 13677610.05 23test2
Output for 5.6.21
4467151.23 45939528.54 23test2
Output for 5.6.20
2538079.88 25948950.38 23test2
Output for 5.6.19
2545020.27 26236928.06 23test2
Output for 5.6.18
317479.69 3243625.17 21test2
Output for 5.6.17
704621.66 7208172.94 21test2
Output for 5.6.16
1423977.19 14587060.36 23test2
Output for 5.6.15
1513334.13 15495728.31 23test2
Output for 5.6.14
2916286.56 29808518.81 23test2
Output for 5.6.13
3005030.90 30714727.15 23test2
Output for 5.6.12
3402779.76 34782448.59 23test2
Output for 5.6.11
3771538.88 38671269.90 23test2
Output for 5.6.10
3865497.61 39656223.14 23test2
Output for 5.6.9
4057849.17 41658635.77 23test2
Output for 5.6.8
4261255.09 43756173.45 23test2
Output for 5.5.35
455178.99 5010209.04 21test2
Output for 5.5.34
2632509.90 26912724.63 23test2
Output for 5.5.33
2642150.16 27211511.62 23test2
Output for 5.5.32
504480.85 5175543.18 21test2
Output for 5.5.31
802355.81 8215317.09 21test2
Output for 5.5.30
1779259.56 18197324.55 23test2
Output for 5.5.29
3142900.97 32131988.07 23test2
Output for 5.5.28
3501093.33 35779145.21 23test2
Output for 5.5.27
3593395.03 36738106.87 23test2
Output for 5.5.26
3961530.17 40655681.41 23test2
Output for 5.5.25
4161067.31 42720234.18 23test2
Output for 5.5.24
568149.79 6209393.86 21test2

preferences:
174.65 ms | 401 KiB | 212 Q