3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { static function call() { self::method(); $self = self::class; $self::method(); } static function method() { echo static::class; } } class B extends A {} B::call();

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.60.0140.00718.43
8.3.50.0120.00318.05
8.3.40.0100.00322.23
8.3.30.0180.00018.46
8.3.20.0040.00420.60
8.3.10.0000.00720.25
8.3.00.0070.00022.57
8.2.180.0180.00316.48
8.2.170.0100.01022.96
8.2.160.0070.00721.10
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00426.16
8.2.110.0050.00519.31
8.2.100.0030.00717.72
8.2.90.0000.00817.84
8.2.80.0000.00818.07
8.2.70.0090.00017.38
8.2.60.0060.00317.75
8.2.50.0030.00518.05
8.2.40.0080.00018.05
8.2.30.0040.00419.30
8.2.20.0000.00718.06
8.2.10.0070.00019.22
8.2.00.0050.00219.08
8.1.280.0090.00625.92
8.1.270.0050.00320.64
8.1.260.0070.00026.35
8.1.250.0030.00628.09
8.1.240.0040.00422.75
8.1.230.0110.00020.95
8.1.220.0040.00417.74
8.1.210.0030.00620.44
8.1.200.0090.00017.23
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0040.00417.62
8.1.160.0000.00720.85
8.1.150.0000.00818.81
8.1.140.0000.00718.73
8.1.130.0030.00319.97
8.1.120.0000.00717.38
8.1.110.0000.00717.30
8.1.100.0000.00817.30
8.1.90.0030.00317.27
8.1.80.0070.00017.37
8.1.70.0040.00417.34
8.1.60.0030.00517.52
8.1.50.0000.00717.53
8.1.40.0050.00317.45
8.1.30.0060.00317.65
8.1.20.0040.00417.61
8.1.10.0000.00817.55
8.1.00.0040.00717.36
8.0.300.0040.00419.86
8.0.290.0040.00416.63
8.0.280.0030.00318.30
8.0.270.0000.00818.02
8.0.260.0070.00020.01
8.0.250.0030.00316.93
8.0.240.0030.00317.00
8.0.230.0000.00716.77
8.0.220.0030.00316.87
8.0.210.0000.00616.77
8.0.200.0000.00716.74
8.0.190.0070.00016.76
8.0.180.0040.00416.79
8.0.170.0050.00316.80
8.0.160.0040.00416.78
8.0.150.0030.00916.74
8.0.140.0070.00016.77
8.0.130.0060.00013.25
8.0.120.0050.00316.68
8.0.110.0040.00416.86
8.0.100.0000.00816.68
8.0.90.0030.00516.88
8.0.80.0030.01016.73
8.0.70.0000.00716.88
8.0.60.0000.00716.70
8.0.50.0050.00216.76
8.0.30.0140.00317.27
8.0.20.0140.00517.00
8.0.10.0040.00416.72
8.0.00.0180.00016.47
7.4.330.0050.00015.55
7.4.320.0060.00016.43
7.4.300.0030.00316.51
7.4.290.0000.00716.39
7.4.280.0040.00416.48
7.4.270.0050.00316.51
7.4.260.0000.00513.34
7.4.250.0000.00716.45
7.4.240.0070.00016.51
7.4.230.0000.00716.62
7.4.220.0030.00316.50
7.4.210.0070.00716.61
7.4.200.0000.00716.38
7.4.130.0100.01116.46
7.4.120.0110.01116.44
7.4.110.0100.00716.34
7.4.100.0100.00716.39
7.4.90.0090.01216.30
7.4.80.0030.01519.39
7.4.70.0030.01316.40
7.4.60.0090.00916.26
7.4.50.0080.00316.45
7.4.40.0030.01316.40
7.4.30.0070.01516.52
7.4.20.0070.01616.26
7.4.10.0120.00916.36
7.4.00.0100.00716.52
7.3.330.0070.00016.30
7.3.320.0000.00513.16
7.3.310.0040.00416.30
7.3.300.0000.00716.31
7.3.290.0080.00916.28
7.3.280.0050.01016.21
7.3.260.0130.01016.47
7.3.240.0120.00416.46
7.3.230.0180.00016.23
7.3.210.0080.01116.27
7.3.200.0130.01016.65
7.3.190.0090.00916.48
7.3.180.0090.00916.35
7.3.170.0130.00316.32
7.3.160.0030.01316.60
7.3.150.0030.01916.21
7.3.140.0070.01016.23
7.3.130.0110.01116.41
7.3.120.0140.00516.27
7.3.110.0070.01016.38
7.3.100.0210.00316.41
7.3.90.0110.00516.18
7.3.80.0150.00316.31
7.3.70.0110.00616.32
7.3.60.0120.00616.39
7.3.50.0130.00616.36
7.3.40.0030.01716.21
7.3.30.0110.00716.20
7.3.20.0090.01016.38
7.3.10.0120.00916.22
7.3.00.0130.01016.13
7.2.330.0120.01116.67
7.2.320.0130.00416.62
7.2.310.0030.01316.61
7.2.300.0000.01716.70
7.2.290.0130.00316.66
7.2.280.0000.01716.35
7.2.270.0040.01416.66
7.2.260.0110.01116.49
7.2.250.0120.00916.62
7.2.240.0100.00716.43
7.2.230.0130.00416.38
7.2.220.0110.01016.23
7.2.210.0140.00516.14
7.2.200.0100.01016.44
7.2.190.0070.01416.44
7.2.180.0090.01216.46
7.2.170.0070.01416.25
7.2.160.0170.00316.36
7.2.150.0070.01416.48
7.2.140.0090.00916.44
7.2.130.0100.01016.36
7.2.120.0060.01616.45
7.2.110.0120.00916.49
7.2.100.0100.00716.43
7.2.90.0130.00316.38
7.2.80.0110.00716.54
7.2.70.0120.00916.45
7.2.60.0000.01816.62
7.2.50.0130.00316.53
7.2.40.0130.00916.58
7.2.30.0070.01016.64
7.2.20.0040.01516.44
7.2.10.0100.00716.50
7.2.00.0080.01116.55

preferences:
50.64 ms | 400 KiB | 5 Q