3v4l.org

run code in 200+ PHP versions simultaneously
<?php function test(stdClass $data) { echo $data; } set_error_handler(function () { return false; }); test(123);

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.4.10.0060.01315.26
7.4.00.0090.00914.95
7.3.130.0070.01014.71
7.3.120.0030.01516.01
7.3.110.0070.00716.05
7.3.100.0070.00615.91
7.3.90.0020.01216.00
7.3.80.0090.00516.08
7.3.70.0070.00816.04
7.3.60.0080.00715.96
7.3.50.0020.01316.04
7.3.40.0080.00715.95
7.3.30.0070.00416.01
7.3.20.0030.01116.95
7.3.10.0070.00516.94
7.3.00.0070.00516.91
7.2.260.0110.00714.84
7.2.250.0000.01814.89
7.2.240.0050.01115.91
7.2.230.0070.00715.87
7.2.220.0080.00515.85
7.2.210.0050.00916.04
7.2.200.0090.00515.91
7.2.190.0090.00916.11
7.2.180.0050.00916.09
7.2.170.0080.00616.08
7.2.160.0020.01415.96
7.2.150.0050.00916.98
7.2.140.0030.01217.03
7.2.130.0070.00717.08
7.2.120.0050.01016.89
7.2.110.0100.00616.99
7.2.100.0080.00716.90
7.2.90.0060.01017.04
7.2.80.0080.00616.96
7.2.70.0050.01017.06
7.2.60.0490.01016.25
7.2.50.0080.00517.00
7.2.40.0050.00816.86
7.2.30.0050.00816.88
7.2.20.0050.00816.89
7.2.10.0060.00916.90
7.2.00.0020.00917.87
7.1.330.0060.00716.29
7.1.320.0060.00716.37
7.1.310.0050.00516.33
7.1.300.0100.00016.33
7.1.290.0070.00716.26
7.1.280.0110.00616.24
7.1.270.0050.00816.42
7.1.260.0070.00516.34
7.1.250.0040.00616.49
7.1.240.0070.01015.52
7.1.230.0070.00315.75
7.1.220.0090.00615.68
7.1.210.0050.00515.56
7.1.200.0060.00715.73
7.1.190.0070.01015.66
7.1.180.0080.00415.62
7.1.170.0100.00315.51
7.1.160.0000.01115.42
7.1.150.0060.00615.57
7.1.140.0080.00615.77
7.1.130.0000.01215.71
7.1.120.0000.01215.59
7.1.110.0030.00915.54
7.1.100.0060.00816.86
7.1.90.0000.01015.86
7.1.80.0090.00315.50
7.1.70.0090.00316.32
7.1.60.0100.00917.48
7.1.50.0140.01225.30
7.1.40.0030.01315.59
7.1.30.0030.00615.42
7.1.20.0060.00315.50
7.1.10.0030.01115.39
7.1.00.0040.02619.03
7.0.330.0070.00715.06
7.0.320.0030.00815.14
7.0.310.0140.00015.34
7.0.300.0100.00315.23
7.0.290.0120.00315.36
7.0.280.0060.00315.35
7.0.270.0000.01415.11
7.0.260.0060.00615.36
7.0.250.0060.00915.28
7.0.240.0070.01015.13
7.0.230.0040.01115.13
7.0.220.0000.01215.23
7.0.210.0030.00915.32
7.0.200.0080.00515.85
7.0.190.0040.01115.47
7.0.180.0070.00715.34
7.0.170.0060.00615.43
7.0.160.0100.00315.45
7.0.150.0030.00615.19
7.0.140.0030.04218.78
7.0.130.0030.00715.41
7.0.120.0080.01718.65
7.0.110.0030.00715.40
7.0.100.0110.00415.39
7.0.90.0110.00315.30
7.0.80.0000.00915.19
7.0.70.0070.00715.46
7.0.60.0060.02317.54
7.0.50.0000.02816.61
7.0.40.0030.05216.83
7.0.30.0370.03316.82
7.0.20.0150.02016.75
7.0.10.0060.03316.67
7.0.00.0090.04516.71
5.6.400.0080.00814.11
5.6.390.0070.00414.21
5.6.380.0030.01113.93
5.6.370.0110.00013.79
5.6.360.0090.00613.93
5.6.350.0090.00613.98
5.6.340.0080.00014.52
5.6.330.0030.00614.09
5.6.320.0120.00314.57
5.6.310.0060.00613.93
5.6.300.0030.01014.40
5.6.290.0080.00413.97
5.6.280.0030.04217.68
5.6.270.0000.01114.05
5.6.260.0030.00714.27
5.6.250.0030.01214.43
5.6.240.0040.00814.00
5.6.230.0060.00314.40
5.6.220.0030.00914.03
5.6.210.0060.02117.59
5.6.200.0050.04516.13
5.6.190.0000.03117.31
5.6.180.1720.02817.41
5.6.170.0120.04617.17
5.6.160.0050.02417.32
5.6.150.0020.04016.09
5.6.140.0080.03216.12
5.6.130.0010.05216.21
5.6.120.0050.03017.68
5.6.110.0070.04817.54
5.6.100.0070.02817.63
5.6.90.0090.04517.57
5.6.80.0050.04517.30
5.6.70.2240.02517.14
5.6.60.0060.00614.39
5.6.50.0070.00714.05
5.6.40.0030.00614.09
5.6.30.0000.00814.23
5.6.20.0070.00714.01
5.6.10.0000.00914.20
5.6.00.0040.00714.04
5.5.380.0070.00713.75
5.5.370.0060.00613.80
5.5.360.0030.01214.32
5.5.350.0040.04917.34
5.5.340.0070.04316.06
5.5.330.0050.04817.09
5.5.320.0080.02817.24
5.5.310.0170.04017.26
5.5.300.0060.04416.19
5.5.290.0040.02515.93
5.5.280.0050.04317.39
5.5.270.0150.03817.60
5.5.260.0100.03017.55
5.5.250.0090.02317.30
5.5.240.0050.03917.14
5.5.230.0080.00313.82
5.5.220.0000.01513.63
5.5.210.0030.00914.20
5.5.200.0060.00613.90
5.5.190.0030.00613.82
5.5.180.0070.00713.96
5.5.170.0100.00714.13
5.5.160.0060.00614.07
5.5.150.0030.00913.85
5.5.140.0110.00413.97
5.5.130.0080.00614.10
5.5.120.0060.00614.05
5.5.110.0110.00413.81
5.5.100.0080.00414.04
5.5.90.0150.00014.03
5.5.80.0040.00814.06
5.5.70.0060.01014.04
5.5.60.0070.01014.15
5.5.50.0090.00913.84
5.5.40.0040.01213.94
5.5.30.0030.01013.86
5.5.20.0130.00314.04
5.5.10.0030.01413.70
5.5.00.0030.01014.20
5.4.450.0040.03515.54
5.4.440.0060.03615.34
5.4.430.0050.02515.41
5.4.420.0180.03215.34
5.4.410.0090.04015.28
5.4.400.0060.03315.33
5.4.390.0110.01815.32
5.4.380.0030.03815.35
5.4.370.0130.01715.33
5.4.360.0050.04315.18
5.4.350.0030.02315.23
5.4.340.0050.03915.37
5.4.330.0040.00711.50
5.4.320.0030.04315.21
5.4.310.0030.03315.19
5.4.300.0080.01715.18
5.4.290.0040.03315.31
5.4.280.0050.02215.32
5.4.270.0050.02515.21
5.4.260.0080.02215.33
5.4.250.0120.03315.21
5.4.240.0020.04215.18
5.4.230.0070.03015.23
5.4.220.0000.03515.32
5.4.210.0080.03815.35
5.4.200.0080.03015.18
5.4.190.0060.04115.21
5.4.180.0020.03115.32
5.4.170.0020.04415.18
5.4.160.0070.03915.18
5.4.150.0020.04615.36
5.4.140.0030.03713.97
5.4.130.0030.03013.98
5.4.120.0050.03113.96
5.4.110.0050.02913.96
5.4.100.0070.02213.97
5.4.90.0110.02013.95
5.4.80.0070.03513.93
5.4.70.0050.02413.99
5.4.60.0040.02213.96
5.4.50.0070.01713.96
5.4.40.0050.02013.89
5.4.30.0090.02113.94
5.4.20.0030.04013.92
5.4.10.0060.02314.07
5.4.00.0090.03113.64
5.3.290.0050.02713.09
5.3.280.0050.03513.06
5.3.270.0030.02813.06
5.3.260.0050.04213.08
5.3.250.0020.02313.01
5.3.240.0080.03013.09
5.3.230.0020.03813.04
5.3.220.0020.03513.11
5.3.210.0090.03813.00
5.3.200.0020.02612.99
5.3.190.0020.04113.04
5.3.180.0030.02513.03
5.3.170.0070.03113.04
5.3.160.0070.03413.03
5.3.150.0020.02513.04
5.3.140.0020.02313.02
5.3.130.0030.02713.05
5.3.120.0030.02213.04
5.3.110.0050.03912.98
5.3.100.0030.03512.78
5.3.90.0080.01812.77
5.3.80.0070.03812.76
5.3.70.0080.01812.76
5.3.60.0050.02212.83
5.3.50.0030.02212.81
5.3.40.0030.03012.75
5.3.30.0030.03812.78
5.3.20.0040.02412.57
5.3.10.0050.03812.62
5.3.00.0030.02312.58
5.2.170.0270.02311.06
5.2.160.0070.03311.15
5.2.150.0070.05711.18
5.2.140.0000.05711.20
5.2.130.0070.05311.14
5.2.120.0070.03711.05
5.2.110.0100.04311.13
5.2.100.0000.03711.02
5.2.90.0070.02311.16
5.2.80.0000.03011.06
5.2.70.0030.02710.98
5.2.60.0070.02311.01
5.2.50.0000.03011.16
5.2.40.0030.02711.02
5.2.30.0000.03011.13
5.2.20.0000.03011.02
5.2.10.0030.02710.90
5.2.00.0000.03010.73
5.1.60.0000.02710.07
5.1.50.0030.0239.97
5.1.40.0030.0209.95
5.1.30.0000.03010.26
5.1.20.0000.02710.34
5.1.10.0070.02010.04
5.1.00.0030.02310.23
5.0.50.0000.0208.50
5.0.40.0000.0208.42
5.0.30.0030.0308.38
5.0.20.0000.0208.38
5.0.10.0070.0138.38
5.0.00.0000.0338.38
4.4.90.0030.0138.38
4.4.80.0000.0208.38
4.4.70.0000.0178.38
4.4.60.0030.0138.38
4.4.50.0030.0138.38
4.4.40.0030.0208.38
4.4.30.0030.0138.38
4.4.20.0100.0078.38
4.4.10.0030.0138.38
4.4.00.0000.0278.38
4.3.110.0030.0138.38
4.3.100.0030.0108.38
4.3.90.0000.0138.38
4.3.80.0070.0178.38
4.3.70.0000.0138.38
4.3.60.0030.0178.38
4.3.50.0070.0108.38
4.3.40.0000.0238.38
4.3.30.0030.0108.38
4.3.20.0000.0178.38
4.3.10.0000.0178.38
4.3.00.0000.0138.38