3v4l.org

run code in 300+ PHP versions simultaneously
<?php class a{ static function find() { return 'b'; } } $a = new a; echo $a::find();

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)
8.3.40.0070.01118.67
8.3.30.0070.00718.72
8.3.20.0000.01720.21
8.3.10.0050.00321.95
8.3.00.0040.00419.68
8.2.170.0070.01022.96
8.2.160.0100.00320.13
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00417.63
8.2.110.0090.00022.21
8.2.100.0080.00419.35
8.2.90.0060.00319.34
8.2.80.0000.00818.61
8.2.70.0000.00817.50
8.2.60.0040.00418.04
8.2.50.0000.00818.07
8.2.40.0000.01018.16
8.2.30.0030.00618.12
8.2.20.0000.00717.69
8.2.10.0080.00017.91
8.2.00.0000.00717.87
8.1.270.0090.00020.13
8.1.260.0000.00826.35
8.1.250.0050.00228.09
8.1.240.0050.00520.32
8.1.230.0040.00717.64
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0040.00417.23
8.1.190.0030.00517.23
8.1.180.0040.00418.10
8.1.170.0000.00818.58
8.1.160.0040.00418.89
8.1.150.0090.00018.87
8.1.140.0040.00417.44
8.1.130.0000.00717.63
8.1.120.0040.00417.28
8.1.110.0050.00517.28
8.1.100.0070.00017.38
8.1.90.0040.00417.43
8.1.80.0080.00017.36
8.1.70.0070.00017.27
8.1.60.0030.00617.41
8.1.50.0030.00517.48
8.1.40.0000.00817.53
8.1.30.0050.00317.67
8.1.20.0030.00617.50
8.1.10.0040.00417.54
8.1.00.0040.00417.50
8.0.300.0000.00718.77
8.0.290.0000.00916.63
8.0.280.0000.00718.41
8.0.270.0030.00317.22
8.0.260.0060.00317.25
8.0.250.0040.00416.91
8.0.240.0000.00716.85
8.0.230.0040.00416.82
8.0.220.0040.00416.88
8.0.210.0000.00716.82
8.0.200.0030.00316.77
8.0.190.0040.00416.91
8.0.180.0040.00416.89
8.0.170.0040.00416.77
8.0.160.0000.00716.87
8.0.150.0030.00616.86
8.0.140.0000.00716.69
8.0.130.0060.00013.29
8.0.120.0000.00816.75
8.0.110.0050.00216.75
8.0.100.0030.00416.85
8.0.90.0000.00716.78
8.0.80.0070.01416.74
8.0.70.0040.00416.78
8.0.60.0060.00316.78
8.0.50.0000.00716.70
8.0.30.0050.01117.01
8.0.20.0080.01117.40
8.0.10.0040.00416.96
8.0.00.0080.01016.83
7.4.330.0000.00615.08
7.4.320.0030.00316.49
7.4.300.0060.00016.65
7.4.290.0000.00716.54
7.4.280.0110.00016.61
7.4.270.0000.00616.52
7.4.260.0070.00016.49
7.4.250.0000.00716.46
7.4.240.0020.00516.52
7.4.230.0000.00716.37
7.4.220.0150.00316.56
7.4.210.0100.00616.64
7.4.200.0070.00016.67
7.4.160.0040.01116.40
7.4.150.0030.01417.40
7.4.140.0100.01017.86
7.4.130.0050.01116.51
7.4.120.0150.00416.59
7.4.110.0040.01416.41
7.4.100.0120.00916.61
7.4.90.0100.00716.49
7.4.80.0120.00819.39
7.4.70.0130.00916.50
7.4.60.0040.01116.55
7.4.50.0060.00316.29
7.4.40.0090.00916.50
7.4.30.0130.00316.59
7.4.00.0050.01114.90
7.3.330.0020.00213.13
7.3.320.0050.00013.32
7.3.310.0000.00716.31
7.3.300.0070.00016.32
7.3.290.0070.00716.25
7.3.280.0150.00516.31
7.3.270.0030.01417.40
7.3.260.0170.00716.32
7.3.250.0060.01116.36
7.3.240.0090.00916.31
7.3.230.0100.01316.54
7.3.210.0070.01016.44
7.3.200.0160.00319.39
7.3.190.0070.00916.38
7.3.180.0100.01016.43
7.3.170.0080.00816.34
7.3.160.0090.00916.32
7.3.120.0090.00914.91
7.3.110.0050.00614.54
7.3.100.0110.00714.73
7.3.90.0040.01114.92
7.3.80.0070.00714.88
7.3.70.0120.00614.97
7.3.60.0030.01014.66
7.3.50.0130.00315.01
7.3.40.0060.00914.89
7.3.30.0070.00814.55
7.3.20.0070.00716.32
7.3.10.0120.00316.73
7.3.00.0030.01016.62
7.2.330.0090.00916.72
7.2.320.0130.00316.68
7.2.310.0080.00816.75
7.2.300.0120.00416.28
7.2.290.0130.01016.24
7.2.250.0110.00715.30
7.2.240.0100.01014.64
7.2.230.0040.00815.02
7.2.220.0070.01114.91
7.2.210.0080.00414.81
7.2.200.0110.00315.00
7.2.190.0060.00914.93
7.2.180.0030.01314.88
7.2.170.0060.01214.72
7.2.00.0070.00418.88
7.1.330.0100.00715.93
7.1.320.0070.00715.67
7.1.310.0030.01015.55
7.1.300.0070.00715.69
7.1.290.0080.00815.76
7.1.280.0040.01115.78
7.1.270.0070.00315.63
7.1.260.0070.00415.70
7.1.100.0080.00317.72
7.1.70.0060.00316.77
7.1.60.0060.01920.03
7.1.50.0030.02016.66
7.1.00.0100.07022.36
7.0.200.0000.01116.58
7.0.60.0030.07719.92
7.0.50.0100.03717.86
7.0.40.0100.06020.11
7.0.30.0230.04320.30
7.0.20.0130.06020.22
7.0.10.0100.04320.24
7.0.00.0070.06720.09
5.6.280.0070.07020.87
5.6.210.0130.06720.65
5.6.200.0000.04318.18
5.6.190.0130.06320.61
5.6.180.0170.08320.63
5.6.170.0200.05720.56
5.6.160.0170.07020.44
5.6.150.0030.04018.15
5.6.140.0030.04718.19
5.6.130.0100.07718.21
5.6.120.0130.08320.98
5.6.110.0130.08021.01
5.6.100.0030.04720.98
5.6.90.0100.07721.08
5.6.80.0130.05020.53
5.6.70.4700.03320.35
5.5.350.0200.07320.41
5.5.340.0070.08017.95
5.5.330.0070.04320.40
5.5.320.0300.08020.20
5.5.310.0230.07020.23
5.5.300.0070.03717.95
5.5.290.0130.07717.96
5.5.280.0100.06720.87
5.5.270.0070.05720.88
5.5.260.0100.06020.84
5.5.250.0070.03720.59
5.5.240.4300.03720.18
5.4.450.0000.07019.64
5.4.440.0070.05719.59
5.4.430.0130.05319.33
5.4.420.0170.04319.59
5.4.410.0070.06019.25
5.4.400.0130.04719.16
5.4.390.0070.06318.87
5.4.380.0130.05319.15
5.4.370.0230.04019.29
5.4.360.0100.05719.23
5.4.350.0170.04719.30
5.4.340.0130.05318.80
5.4.320.0170.05319.00
5.4.310.0070.05319.06
5.4.300.0070.05319.14
5.4.290.0130.05019.30
5.4.280.0100.05319.27
5.4.270.0100.05319.06
5.4.260.0070.05319.25
5.4.250.0070.05719.25
5.4.240.0170.05019.25
5.4.230.0130.05018.86
5.4.220.0070.05719.31
5.4.210.0030.06019.18
5.4.200.0130.04716.70
5.4.190.0070.05719.08
5.4.180.0070.05718.88
5.4.170.0070.05719.08
5.4.160.0130.04719.17
5.4.150.0030.06019.27
5.4.140.0200.03716.62
5.4.130.0100.04716.46
5.4.120.0100.06716.41
5.4.110.0200.04016.51
5.4.100.0130.04716.41
5.4.90.0030.05316.40
5.4.80.0200.05716.32
5.4.70.0130.06316.31
5.4.60.0100.04716.27
5.4.50.0130.04316.35
5.4.40.0130.04716.29
5.4.30.0100.05016.52
5.4.20.0170.04316.47
5.4.10.0170.04016.41
5.4.00.0000.05715.84

preferences:
52.29 ms | 400 KiB | 5 Q