3v4l.org

run code in 300+ PHP versions simultaneously
<?php class fubar { public function __construct() { $this->abc = 'asd'; } } $a = new $fubar; echo $a->abc;

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.01016.62
8.3.50.0120.00316.22
8.3.40.0080.00818.78
8.3.30.0130.00318.92
8.3.20.0000.00720.35
8.3.10.0040.00421.90
8.3.00.0000.00917.78
8.2.180.0090.00616.75
8.2.170.0090.00622.96
8.2.160.0030.01020.47
8.2.150.0070.00024.18
8.2.140.0070.00024.66
8.2.130.0070.00020.38
8.2.120.0000.00726.35
8.2.110.0110.00021.04
8.2.100.0070.00420.36
8.2.90.0080.00019.05
8.2.80.0060.00317.97
8.2.70.0000.00817.63
8.2.60.0000.00917.93
8.2.50.0000.00818.10
8.2.40.0060.00322.32
8.2.30.0000.00920.98
8.2.20.0030.00517.87
8.2.10.0050.00317.86
8.2.00.0040.00418.04
8.1.280.0070.01025.92
8.1.270.0040.00422.14
8.1.260.0000.00726.35
8.1.250.0070.00028.09
8.1.240.0060.00322.20
8.1.230.0080.00420.90
8.1.220.0000.00817.74
8.1.210.0080.00018.77
8.1.200.0080.00017.21
8.1.190.0050.00317.23
8.1.180.0050.00218.10
8.1.170.0000.00818.60
8.1.160.0040.00418.96
8.1.150.0040.00420.47
8.1.140.0080.00019.51
8.1.130.0000.00718.67
8.1.120.0030.00517.20
8.1.110.0050.00217.22
8.1.100.0040.00417.31
8.1.90.0040.00417.29
8.1.80.0040.00317.30
8.1.70.0000.00817.30
8.1.60.0040.00417.48
8.1.50.0000.00817.38
8.1.40.0000.00817.52
8.1.30.0070.00417.60
8.1.20.0000.00817.48
8.1.10.0000.00717.40
8.1.00.0040.00417.33
8.0.300.0000.00719.79
8.0.290.0080.00016.63
8.0.280.0020.00518.44
8.0.270.0060.00317.11
8.0.260.0000.00616.82
8.0.250.0070.00016.95
8.0.240.0040.00416.98
8.0.230.0050.00316.89
8.0.220.0040.00416.79
8.0.210.0040.00416.82
8.0.200.0060.00016.81
8.0.190.0040.00417.00
8.0.180.0070.00016.92
8.0.170.0050.00316.77
8.0.160.0040.00416.84
8.0.150.0040.00416.90
8.0.140.0030.00316.85
8.0.130.0030.00313.35
8.0.120.0030.00516.84
8.0.110.0030.00316.90
8.0.100.0040.00416.70
8.0.90.0070.00016.84
8.0.80.0120.00616.93
8.0.70.0000.00716.95
8.0.60.0070.00016.88
8.0.50.0030.00516.75
8.0.30.0080.01117.09
8.0.20.0180.00617.40
8.0.10.0000.00816.77
8.0.00.0120.00616.63
7.4.330.0000.00515.55
7.4.320.0040.00416.36
7.4.300.0000.00616.34
7.4.290.0040.00416.48
7.4.280.0050.00216.45
7.4.270.0000.00716.48
7.4.260.0000.00613.32
7.4.250.0040.00416.39
7.4.240.0000.00816.52
7.4.230.0070.00016.56
7.4.220.0110.00616.52
7.4.210.0100.00416.48
7.4.200.0030.00316.51
7.4.160.0080.00816.48
7.4.150.0060.01317.40
7.4.140.0080.01017.86
7.4.130.0120.00916.29
7.4.120.0120.00616.42
7.4.110.0060.01316.26
7.4.100.0070.01116.57
7.4.90.0080.00816.43
7.4.80.0080.01619.39
7.4.70.0090.00916.56
7.4.60.0070.01016.44
7.4.50.0070.00716.34
7.4.40.0100.01316.38
7.4.30.0030.01316.50
7.4.00.0070.00714.89
7.3.330.0000.00513.30
7.3.320.0030.00313.16
7.3.310.0070.00016.40
7.3.300.0030.00316.24
7.3.290.0030.00616.27
7.3.280.0100.00616.31
7.3.270.0170.00017.40
7.3.260.0070.00916.35
7.3.250.0100.00816.33
7.3.240.0130.00616.28
7.3.230.0180.00016.45
7.3.210.0080.00816.23
7.3.200.0130.00616.45
7.3.190.0040.01516.59
7.3.180.0140.00816.30
7.3.170.0040.01216.30
7.3.160.0130.00316.52
7.2.330.0090.00916.62
7.2.320.0110.00716.48
7.2.310.0140.00316.67
7.2.300.0130.00616.55
7.2.290.0100.01016.60
7.2.60.0090.00416.82
7.2.00.0030.01019.36
7.1.200.0120.00015.34
7.1.100.0050.00518.00
7.1.70.0110.00817.00
7.1.60.0240.01434.81
7.1.50.0160.01334.85
7.1.40.0140.02434.07
7.1.30.0190.01934.14
7.1.20.0110.01734.52
7.1.10.0070.01416.55
7.1.00.0070.01216.45
7.0.200.0080.01016.57
7.0.190.0030.01416.70
7.0.180.0060.01216.20
7.0.170.0120.00816.27
7.0.160.0060.01616.27
7.0.150.0030.01716.28
7.0.140.0020.01716.15
7.0.130.0120.00616.29
7.0.120.0100.00716.35
7.0.110.0050.01416.23
7.0.100.0020.01616.09
7.0.90.0080.00916.12
7.0.80.0090.01016.14
7.0.70.0110.00616.33
7.0.60.0030.01316.16
7.0.50.0060.01315.99
7.0.40.0030.01416.40
7.0.30.0060.01216.11
7.0.20.0120.00616.23
7.0.10.0020.01816.32
7.0.00.0030.01516.22

preferences:
73.76 ms | 401 KiB | 5 Q