3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace A; class a { } namespace B; class b extends \A\a { public function fb() { } } $b = new B\b(); $b->fb();

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.0070.00716.50
8.3.50.0090.00616.16
8.3.40.0040.01118.84
8.3.30.0090.00618.65
8.3.20.0000.00720.04
8.3.10.0040.00421.60
8.3.00.0060.01020.13
8.2.180.0070.01116.50
8.2.170.0140.00722.96
8.2.160.0100.00320.52
8.2.150.0130.00024.18
8.2.140.0050.00224.66
8.2.130.0090.00021.07
8.2.120.0000.00826.35
8.2.110.0040.00420.52
8.2.100.0060.00617.72
8.2.90.0090.00019.17
8.2.80.0080.00017.97
8.2.70.0000.00817.50
8.2.60.0040.00417.80
8.2.50.0030.00518.10
8.2.40.0000.00720.63
8.2.30.0080.00021.04
8.2.20.0040.00417.89
8.2.10.0040.00417.96
8.2.00.0040.00417.97
8.1.280.0030.01025.92
8.1.270.0040.00422.19
8.1.260.0000.00726.35
8.1.250.0060.00328.09
8.1.240.0030.00623.83
8.1.230.0070.00417.71
8.1.220.0040.00417.74
8.1.210.0030.00518.77
8.1.200.0060.00317.23
8.1.190.0000.00817.23
8.1.180.0090.00018.10
8.1.170.0040.00420.44
8.1.160.0000.00718.94
8.1.150.0070.00018.75
8.1.140.0060.00319.47
8.1.130.0000.00718.65
8.1.120.0050.00317.29
8.1.110.0040.00417.33
8.1.100.0070.00017.25
8.1.90.0000.00717.37
8.1.80.0030.00317.28
8.1.70.0000.00817.37
8.1.60.0030.00517.49
8.1.50.0060.00317.47
8.1.40.0040.00417.47
8.1.30.0000.00717.59
8.1.20.0030.00617.65
8.1.10.0000.00817.51
8.1.00.0070.00017.30
8.0.300.0040.00418.77
8.0.290.0050.00216.63
8.0.280.0050.00318.29
8.0.270.0030.00317.07
8.0.260.0000.00716.86
8.0.250.0050.00216.93
8.0.240.0030.00316.93
8.0.230.0030.00316.82
8.0.220.0000.00716.88
8.0.210.0000.00816.86
8.0.200.0030.00316.95
8.0.190.0050.00316.89
8.0.180.0040.00416.90
8.0.170.0030.00316.80
8.0.160.0030.00316.77
8.0.150.0000.00816.80
8.0.140.0040.00416.85
8.0.130.0000.00613.29
8.0.120.0050.00316.81
8.0.110.0070.00016.69
8.0.100.0000.00716.84
8.0.90.0050.00316.71
8.0.80.0070.00716.80
8.0.70.0070.00016.74
8.0.60.0070.00016.88
8.0.50.0000.00716.90
8.0.30.0110.00916.94
8.0.20.0120.00817.40
8.0.10.0000.00716.94
8.0.00.0060.01016.65
7.4.330.0000.00715.55
7.4.320.0030.00316.46
7.4.300.0000.00616.28
7.4.290.0000.00716.53
7.4.280.0000.00716.51
7.4.270.0080.00016.47
7.4.260.0070.00016.53
7.4.250.0040.00416.40
7.4.240.0030.00516.45
7.4.230.0030.00316.34
7.4.220.0130.01316.46
7.4.210.0050.01016.53
7.4.200.0030.00316.37
7.4.160.0120.00716.38
7.4.150.0090.00917.40
7.4.140.0090.00817.86
7.4.130.0090.00916.64
7.4.120.0080.00916.51
7.4.110.0090.00916.54
7.4.100.0150.00316.38
7.4.90.0090.00916.31
7.4.80.0090.01219.39
7.4.70.0100.00716.54
7.4.60.0120.00316.39
7.4.50.0060.00716.56
7.4.40.0060.01016.39
7.4.30.0180.00316.32
7.4.00.0070.00714.89
7.3.330.0020.00213.25
7.3.320.0000.00513.30
7.3.310.0070.00016.35
7.3.300.0030.00316.31
7.3.290.0040.00416.22
7.3.280.0080.00816.29
7.3.270.0070.01017.40
7.3.260.0030.01316.25
7.3.250.0070.01016.40
7.3.240.0100.00816.30
7.3.230.0130.00616.46
7.3.210.0030.01316.30
7.3.200.0120.00916.40
7.3.190.0130.01016.16
7.3.180.0080.00816.32
7.3.170.0060.01016.32
7.3.160.0110.01216.55
7.3.120.0070.00714.78
7.3.110.0090.00614.73
7.3.100.0100.00714.77
7.3.90.0070.01014.77
7.3.80.0080.00314.52
7.3.70.0070.01014.53
7.3.60.0090.00614.91
7.3.50.0070.00714.83
7.3.40.0000.01514.84
7.3.30.0030.01414.54
7.3.20.0070.00416.52
7.3.10.0030.01316.57
7.3.00.0040.01116.39
7.2.330.0120.00616.23
7.2.320.0120.00916.59
7.2.310.0070.01116.60
7.2.300.0140.00316.51
7.2.290.0120.00916.34
7.2.240.0070.00415.02
7.2.230.0030.01014.99
7.2.220.0000.01214.73
7.2.210.0120.00314.97
7.2.200.0060.01014.91
7.2.190.0120.00314.92
7.2.180.0030.01014.96
7.2.170.0030.00914.61
7.2.160.0060.01015.02
7.2.150.0040.01116.85
7.2.140.0070.01016.57
7.2.130.0030.00716.56
7.2.120.0040.01016.80
7.2.110.0090.00616.67
7.2.100.0040.00716.80
7.2.90.0090.00616.81
7.2.80.0080.00016.64
7.2.70.0060.00316.86
7.2.60.0060.00816.71
7.2.50.0030.00616.64
7.2.40.0130.00316.88
7.2.30.0030.01016.75
7.2.20.0130.00316.58
7.2.10.0040.00716.82
7.2.00.0020.01318.09
7.1.330.0000.01615.38
7.1.320.0080.00815.72
7.1.310.0080.00415.46
7.1.300.0000.01315.42
7.1.290.0080.00815.73
7.1.280.0070.01015.56
7.1.270.0070.00715.44
7.1.260.0000.01015.31
7.1.250.0030.00715.25
7.1.200.0090.00315.74
7.1.100.0030.01217.89
7.1.70.0120.00916.68
7.1.60.0310.01535.00
7.1.50.0210.01634.68
7.1.40.0250.01534.50
7.1.30.0230.01234.40
7.1.20.0280.01234.48
7.1.10.0120.00716.63
7.1.00.0110.01416.40
7.0.200.0200.00016.75
7.0.190.0060.01716.66
7.0.180.0060.01216.34
7.0.170.0040.01416.17
7.0.160.0160.00516.07
7.0.150.0110.00516.30
7.0.140.0140.00716.28
7.0.130.0130.00916.43
7.0.120.0100.01316.30
7.0.110.0110.01116.04
7.0.100.0060.01516.09
7.0.90.0110.00616.18
7.0.80.0060.01615.96
7.0.70.0100.00716.08
7.0.60.0060.00916.02
7.0.50.0100.00916.25
7.0.40.0100.01016.44
7.0.30.0070.01316.38
7.0.20.0090.01316.33
7.0.10.0110.00816.28
7.0.00.0110.00816.31

preferences:
58.11 ms | 401 KiB | 5 Q