3v4l.org

run code in 300+ PHP versions simultaneously
<?php rand(0,2)

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
7.1.20.0300.05340.35
7.1.10.0100.07722.25
7.1.00.0070.05722.41
7.0.160.0030.06321.89
7.0.150.0130.05721.86
7.0.140.0070.06321.80
7.0.130.0100.06021.91
7.0.120.0070.05721.85
7.0.110.0130.06321.93
7.0.100.0070.06021.91
7.0.90.0130.05321.92
7.0.80.0100.05721.82
7.0.70.0100.05321.90
7.0.60.0170.04721.72
7.0.50.0030.06022.04
7.0.40.0070.05721.93
7.0.30.0130.05721.83
7.0.20.0070.05321.92
7.0.10.0030.06021.86
7.0.00.0030.06021.91
5.6.300.0130.06020.63
5.6.290.0070.05720.62
5.6.280.0130.05320.83
5.6.270.0070.05720.96
5.6.260.0100.05020.72
5.6.250.0170.04720.93
5.6.240.0130.05320.77
5.6.230.0100.06020.61
5.6.220.0170.04720.77
5.6.210.0100.05320.75
5.6.200.0170.06320.65
5.6.190.0030.06020.85
5.6.180.0130.05020.68
5.6.170.0070.06020.67
5.6.160.0200.04720.63
5.6.150.0030.06020.85
5.6.140.0070.05720.63
5.6.130.0070.06320.62
5.6.120.0070.06020.87
5.6.110.0030.07020.64
5.6.100.0100.08320.88
5.6.90.0030.05720.76
5.6.80.0070.06720.25
5.6.70.0030.05720.05
5.6.60.0130.04720.02
5.6.50.0030.05720.05
5.6.40.0100.05020.02
5.6.30.0170.06320.12
5.6.20.0130.07019.99
5.6.10.0170.04319.99
5.6.00.0100.05320.16
5.5.380.0200.04317.45
5.5.370.0070.06317.26
5.5.360.0070.07017.33
5.5.350.0030.05717.39
5.5.340.0070.05717.81
5.5.330.0130.05017.87
5.5.320.0170.04717.57
5.5.310.0070.05717.89
5.5.300.0130.05017.57
5.5.290.0000.06317.86
5.5.280.0000.06717.84
5.5.270.0130.07017.84
5.5.260.0070.05717.59
5.5.250.0100.05017.90
5.5.240.0030.05717.16
5.5.230.0130.05017.47
5.5.220.0070.05016.95
5.5.210.0100.05017.05
5.5.200.0100.05017.23
5.5.190.0100.05317.24
5.5.180.0130.06717.44
5.5.160.0000.05717.20
5.5.150.0100.04717.11
5.5.140.0030.05317.25
5.5.130.0200.04017.21
5.5.120.0070.05017.13
5.5.110.0170.04317.12
5.5.100.0100.05017.06
5.5.90.0100.04717.12
5.5.80.0000.06017.02
5.5.70.0130.06716.92
5.5.60.0030.05717.01
5.5.50.0030.08017.00
5.5.40.0030.08016.81
5.5.30.0170.04317.13
5.5.20.0030.05316.81
5.5.10.0070.05317.23
5.5.00.0070.05717.13
5.4.450.0130.05019.09
5.4.440.0100.05019.27
5.4.430.0100.05319.06
5.4.420.0100.04719.10
5.4.410.0030.05719.11
5.4.400.0100.04718.93
5.4.390.0130.05319.00
5.4.380.0100.04718.85
5.4.370.0100.04718.78
5.4.360.0070.05018.80
5.4.350.0130.04718.66
5.4.340.0100.05318.90
5.4.320.0130.04718.78
5.4.310.0200.03718.78
5.4.300.0170.04018.89
5.4.290.0100.05018.88
5.4.280.0070.05318.88
5.4.270.0100.05318.75
5.4.260.0070.05018.68
5.4.250.0100.05018.65
5.4.240.0000.05718.65
5.4.230.0200.06018.77
5.4.220.0070.05718.80
5.4.210.0130.04318.87
5.4.200.0100.07319.00
5.4.190.0070.05018.76
5.4.180.0130.05018.86
5.4.170.0170.06018.88
5.4.160.0170.04314.56
5.4.150.0170.05114.50
5.4.140.0250.06513.48
5.4.130.0140.04513.48
5.4.120.0150.06113.43
5.4.110.0130.04713.48
5.4.100.0190.06013.47
5.4.90.0290.08813.45
5.4.80.0150.06113.44
5.4.70.0100.04913.41
5.4.60.0190.05713.44
5.4.50.0210.07413.41
5.4.40.0100.05013.45
5.4.30.0290.07713.40
5.4.20.0070.05613.36
5.4.10.0120.04713.42
5.4.00.0190.04012.91
5.3.290.0030.05714.71
5.3.280.0100.05714.61
5.3.270.0070.05314.76
5.3.260.0220.06513.27
5.3.250.0120.05813.71
5.3.240.0150.04813.30
5.3.230.0140.04713.34
5.3.220.0100.06713.33
5.3.210.0140.05213.23
5.3.200.0270.07813.31
5.3.190.0150.05513.31
5.3.180.0130.04713.31
5.3.170.0130.04613.27
5.3.160.0180.06813.31
5.3.150.0160.06313.36
5.3.140.0100.05113.25
5.3.130.0180.06413.24
5.3.120.0290.09613.29
5.3.110.0150.04813.30
5.3.100.0140.05612.71
5.3.90.0200.05712.73
5.3.80.0150.04812.68
5.3.70.0090.04812.70
5.3.60.0190.08112.67
5.3.50.0240.09512.65
5.3.40.0110.04712.65
5.3.30.0150.04312.60
5.3.20.0140.05412.39
5.3.10.0110.04712.32
5.3.00.0100.04712.33

preferences:
141.04 ms | 1394 KiB | 7 Q