3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo {} class Bar extends Foo {} function hint_for_alias(FooAlias $foo) { } $foo = new Bar; class_alias('Foo', 'FooAlias'); hint_for_alias($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.0120.00318.06
8.3.60.0030.01418.55
8.3.50.0110.00921.97
8.3.40.0100.00718.58
8.3.30.0030.01018.67
8.3.20.0030.00520.33
8.3.10.0080.00023.65
8.3.00.0000.00918.99
8.2.190.0120.00316.75
8.2.180.0140.00416.38
8.2.170.0130.00622.96
8.2.160.0110.00419.16
8.2.150.0080.00024.18
8.2.140.0070.00024.66
8.2.130.0000.00726.16
8.2.120.0040.00421.00
8.2.110.0000.01120.93
8.2.100.0060.00617.63
8.2.90.0030.00619.23
8.2.80.0040.00417.97
8.2.70.0050.00517.38
8.2.60.0000.00817.91
8.2.50.0050.00318.07
8.2.40.0050.00219.38
8.2.30.0060.00320.54
8.2.20.0070.00317.55
8.2.10.0040.00417.88
8.2.00.0000.00718.09
8.1.280.0170.00325.92
8.1.270.0080.00024.66
8.1.260.0040.00426.35
8.1.250.0100.00728.09
8.1.240.0100.00019.53
8.1.230.0100.00017.76
8.1.220.0000.00717.74
8.1.210.0050.00318.77
8.1.200.0060.00317.22
8.1.190.0000.00717.64
8.1.180.0080.00018.10
8.1.170.0040.00418.59
8.1.160.0040.00422.00
8.1.150.0040.00418.73
8.1.140.0040.00419.38
8.1.130.0000.00717.70
8.1.120.0030.00317.46
8.1.110.0000.00717.28
8.1.100.0000.01017.44
8.1.90.0050.00217.39
8.1.80.0050.00217.39
8.1.70.0040.00417.21
8.1.60.0000.00917.48
8.1.50.0040.00417.51
8.1.40.0030.00617.51
8.1.30.0080.00017.67
8.1.20.0040.00417.56
8.1.10.0040.00417.48
8.1.00.0040.00417.40
8.0.300.0060.00318.77
8.0.290.0000.00716.75
8.0.280.0040.00418.29
8.0.270.0000.00717.19
8.0.260.0030.00317.22
8.0.250.0000.00816.97
8.0.240.0030.00316.98
8.0.230.0030.00316.95
8.0.220.0040.00416.91
8.0.210.0030.00316.96
8.0.200.0000.00616.96
8.0.190.0050.00216.91
8.0.180.0000.00716.79
8.0.170.0000.00816.84
8.0.160.0050.00316.78
8.0.150.0030.00316.72
8.0.140.0000.00716.82
8.0.130.0050.00013.39
8.0.120.0000.00816.93
8.0.110.0040.00416.71
8.0.100.0080.00016.77
8.0.90.0040.00416.77
8.0.80.0100.01016.86
8.0.70.0040.00416.95
8.0.60.0070.00016.84
8.0.50.0000.00716.83
8.0.30.0100.01417.00
8.0.20.0120.00717.40
8.0.10.0040.00416.90
8.0.00.0090.00916.88
7.4.330.0000.00516.66
7.4.320.0060.00016.44
7.4.300.0030.00316.35
7.4.290.0030.00516.40
7.4.280.0090.00016.40
7.4.270.0040.00416.51
7.4.260.0000.00716.64
7.4.250.0000.00816.38
7.4.240.0030.00316.56
7.4.230.0030.00316.41
7.4.220.0100.00716.59
7.4.210.0100.00816.52
7.4.200.0040.00416.68
7.4.160.0100.01016.35
7.4.150.0140.00317.40
7.4.140.0110.01017.86
7.4.130.0080.01216.58
7.4.120.0160.00516.50
7.4.110.0030.01416.57
7.4.100.0050.01116.28
7.4.90.0120.00616.51
7.4.80.0110.00819.39
7.4.70.0050.01116.31
7.4.60.0100.01016.41
7.4.50.0030.01016.26
7.4.40.0060.01116.20
7.4.30.0070.01016.44
7.4.00.0070.00314.73
7.3.330.0030.00313.23
7.3.320.0020.00213.09
7.3.310.0000.00916.25
7.3.300.0070.00016.23
7.3.290.0000.00716.23
7.3.280.0110.00716.24
7.3.270.0090.00917.40
7.3.260.0140.00916.16
7.3.250.0110.00916.41
7.3.240.0140.00616.43
7.3.230.0060.01216.39
7.3.210.0030.01616.38
7.3.200.0100.00616.13
7.3.190.0090.00616.29
7.3.180.0030.01216.24
7.3.170.0090.01116.39
7.3.160.0030.01216.42
7.2.330.0040.01416.39
7.2.320.0080.00916.53
7.2.310.0040.01416.63
7.2.300.0060.01516.25
7.2.290.0110.00616.57
7.2.60.0150.00016.93
7.1.200.0080.00315.81
7.1.70.0000.01116.87
7.1.60.0150.00919.36
7.1.50.0130.00734.44
7.1.00.0030.07722.28
7.0.200.0080.00016.41
7.0.60.0200.06719.93
7.0.50.0030.08717.86
7.0.40.0070.05020.09
7.0.30.0230.06020.24
7.0.20.0270.04720.19
7.0.10.0170.08020.26
7.0.00.0030.07020.22
5.6.280.0130.05721.00
5.6.210.0130.07720.70
5.6.200.0100.04718.16
5.6.190.0070.04320.77
5.6.180.0500.05020.61
5.6.170.0270.07720.47
5.6.160.0070.07020.46
5.6.150.0030.05318.29
5.6.140.0100.07318.28
5.6.130.0070.08318.16
5.6.120.0030.05321.00
5.6.110.0000.04720.91
5.6.100.0070.08721.05
5.6.90.0100.07320.88
5.6.80.0130.07720.42
5.5.350.0130.06020.33
5.5.340.0100.04717.95
5.5.330.0070.08020.13
5.5.320.0000.04720.30
5.5.310.0370.07020.36
5.5.300.0070.04017.99
5.5.290.0070.08317.92
5.5.280.0070.04720.82
5.5.270.0070.05320.67
5.5.260.0100.04020.79
5.5.250.0070.09020.59
5.5.240.0270.06320.37

preferences:
58.32 ms | 401 KiB | 5 Q