3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function __construct() { return "bar"; } } $foo = new Foo(); var_dump($foo);

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.70.0140.00016.38
8.3.60.0030.01818.56
8.3.50.0120.00821.09
8.3.40.0110.00418.42
8.3.30.0140.00018.48
8.3.20.0040.00421.79
8.3.10.0080.00020.36
8.3.00.0040.00423.65
8.2.190.0100.00518.41
8.2.180.0150.00316.38
8.2.170.0090.00922.96
8.2.160.0100.00319.38
8.2.150.0030.00624.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0070.00026.16
8.2.110.0090.00020.39
8.2.100.0080.00319.12
8.2.90.0050.00317.75
8.2.80.0080.00018.98
8.2.70.0000.00817.84
8.2.60.0050.00318.03
8.2.50.0030.00618.10
8.2.40.0030.00619.20
8.2.30.0040.00419.17
8.2.20.0040.00418.02
8.2.10.0040.00419.17
8.2.00.0000.00719.20
8.1.280.0100.00725.92
8.1.270.0080.00020.55
8.1.260.0070.00026.35
8.1.250.0000.00728.09
8.1.240.0030.00622.56
8.1.230.0000.01119.15
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0040.00417.23
8.1.190.0000.00817.23
8.1.180.0050.00318.10
8.1.170.0000.00918.44
8.1.160.0040.00418.73
8.1.150.0000.00918.86
8.1.140.0070.00317.37
8.1.130.0040.00419.98
8.1.120.0050.00317.36
8.1.110.0030.00617.27
8.1.100.0050.00317.38
8.1.90.0000.00717.41
8.1.80.0000.00817.42
8.1.70.0040.00417.31
8.1.60.0060.00317.41
8.1.50.0000.00817.45
8.1.40.0030.00617.55
8.1.30.0070.00317.55
8.1.20.0070.00017.54
8.1.10.0040.00417.49
8.1.00.0040.00417.41
8.0.300.0000.00719.64
8.0.290.0030.00616.63
8.0.280.0000.00718.38
8.0.270.0050.00216.68
8.0.260.0060.00019.97
8.0.250.0040.00416.82
8.0.240.0000.01016.93
8.0.230.0030.00416.90
8.0.220.0050.00216.84
8.0.210.0000.00716.81
8.0.200.0040.00416.81
8.0.190.0060.00316.76
8.0.180.0040.00416.78
8.0.170.0030.00616.88
8.0.160.0050.00316.77
8.0.150.0040.00416.81
8.0.140.0040.00416.69
8.0.130.0030.00313.27
8.0.120.0030.00616.72
8.0.110.0000.00716.73
8.0.100.0070.00016.76
8.0.90.0000.00816.74
8.0.80.0030.01616.78
8.0.70.0040.00416.84
8.0.60.0000.00816.89
8.0.50.0000.00716.84
8.0.30.0100.00716.90
8.0.20.0110.00817.06
8.0.10.0070.00016.82
8.0.00.0110.01016.64
7.4.330.0060.00015.55
7.4.320.0060.00016.51
7.4.300.0060.00316.58
7.4.290.0000.00716.52
7.4.280.0080.00016.59
7.4.270.0020.00516.57
7.4.260.0030.00316.45
7.4.250.0000.00716.59
7.4.240.0020.00516.61
7.4.230.0070.00016.31
7.4.220.0040.00416.51
7.4.210.0100.00516.54
7.4.200.0030.00316.47
7.4.140.0040.01717.86
7.4.130.0110.00816.43
7.4.120.0120.00616.43
7.4.110.0100.00716.54
7.4.100.0100.00716.43
7.4.90.0130.00516.41
7.4.80.0170.00517.88
7.4.70.0110.00716.37
7.4.60.0120.00416.49
7.4.50.0070.00916.35
7.4.40.0070.00916.41
7.4.30.0060.01116.12
7.4.20.0100.00716.24
7.4.10.0110.00716.46
7.4.00.0060.01415.76
7.3.330.0030.00313.10
7.3.320.0030.00313.25
7.3.310.0000.00716.19
7.3.300.0030.00316.28
7.3.290.0000.00716.23
7.3.280.0070.01016.25
7.3.260.0110.00816.29
7.3.250.0070.01016.20
7.3.240.0030.01416.20
7.3.230.0060.01016.28
7.3.220.0060.01216.29
7.3.210.0120.00616.31
7.3.200.0080.00816.21
7.3.190.0160.00116.30
7.3.180.0070.01116.24
7.3.170.0110.00616.15
7.3.160.0060.01016.24
7.3.150.0090.00816.32
7.3.140.0070.01616.52
7.3.130.0090.01216.15
7.3.120.0130.01016.10
7.3.110.0100.01316.14
7.3.100.0090.01216.36
7.3.90.0230.00016.22
7.3.80.0060.01516.14
7.3.70.0090.00815.26
7.3.60.0060.00915.49
7.3.50.0060.01315.35
7.3.40.0130.00615.42
7.3.30.0060.00915.36
7.3.20.0220.00416.40
7.3.10.0080.00916.40
7.3.00.0150.00316.18
7.2.340.0170.01316.11
7.2.330.0140.01316.24
7.2.320.0170.00716.59
7.2.310.0140.00916.61
7.2.300.0160.01216.42
7.2.290.0120.01216.32
7.2.280.0230.00416.49
7.2.270.0160.01016.11
7.2.260.0200.01516.42
7.2.250.0220.01416.58
7.2.240.0210.01816.57
7.2.230.0240.01316.42
7.2.220.0230.01016.45
7.2.210.0280.00316.45
7.2.200.0110.01315.60
7.2.190.0170.00715.59
7.2.180.0150.01115.63
7.2.170.0120.01015.57
7.2.160.0140.00515.69
7.2.150.0120.01116.64
7.2.140.0130.01116.62
7.2.130.0130.01016.57
7.2.120.0130.01316.66
7.2.110.0140.01016.58
7.2.100.0060.02116.51
7.2.90.0180.00516.38
7.2.80.0190.00816.59
7.2.70.0110.01316.57
7.2.60.0230.00316.47
7.2.50.0150.01016.57
7.2.40.0130.01516.59
7.2.30.0210.00816.60
7.2.20.0200.00716.62
7.2.10.0190.00816.50
7.2.00.0190.00816.46
7.1.330.0240.01015.52
7.1.320.0230.01015.59
7.1.310.0210.01115.37
7.1.300.0160.01115.64
7.1.290.0110.01215.45
7.1.280.0170.00715.61
7.1.270.0210.01315.47
7.1.260.0200.00615.53
7.1.250.0160.00815.57
7.1.240.0410.00715.27
7.1.230.0340.00915.48
7.1.220.0320.00915.40
7.1.210.0320.00715.53
7.1.200.0230.01615.40
7.1.190.0260.00715.48
7.1.180.0240.01515.42
7.1.170.0260.00515.37
7.1.160.0250.02215.47
7.1.150.0250.01215.50
7.1.140.0310.00615.54
7.1.130.0290.00815.53
7.1.120.0630.00315.39
7.1.110.0330.00815.53
7.1.100.0160.01115.30
7.1.90.0140.00815.25
7.1.80.0170.00815.24
7.1.70.0310.00415.03
7.1.60.0180.00915.23
7.1.50.0140.01015.33
7.1.40.0290.00615.29
7.1.30.0140.01115.34
7.1.20.0130.01315.26
7.1.10.0180.01115.20
7.1.00.0190.00315.11

preferences:
68.56 ms | 401 KiB | 5 Q