3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace bla { use test\a; class B { function test () { return a::test(); } } $b = new B(); $b->test(); }

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.40.0040.01118.71
8.3.30.0110.00318.67
8.3.20.0040.00420.03
8.3.10.0040.00423.71
8.3.00.0070.00019.91
8.2.170.0090.00622.96
8.2.160.0100.00720.47
8.2.150.0050.00324.18
8.2.140.0070.00024.66
8.2.130.0040.00419.27
8.2.120.0050.00326.35
8.2.110.0070.00320.39
8.2.100.0060.00617.91
8.2.90.0030.00519.07
8.2.80.0040.00417.97
8.2.70.0030.00517.63
8.2.60.0040.00417.93
8.2.50.0000.00818.10
8.2.40.0040.00422.41
8.2.30.0040.00420.59
8.2.20.0000.00717.73
8.2.10.0000.00817.86
8.2.00.0050.00217.98
8.1.270.0140.00720.33
8.1.260.0080.00028.09
8.1.250.0040.00428.09
8.1.240.0060.00321.19
8.1.230.0070.00417.77
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0040.00417.22
8.1.190.0000.00817.25
8.1.180.0050.00518.10
8.1.170.0080.00018.65
8.1.160.0040.00420.72
8.1.150.0070.00018.85
8.1.140.0000.00819.50
8.1.130.0040.00417.61
8.1.120.0000.00717.39
8.1.110.0000.00717.31
8.1.100.0000.00717.42
8.1.90.0000.01017.37
8.1.80.0070.00017.38
8.1.70.0000.00717.30
8.1.60.0040.00417.58
8.1.50.0060.00317.41
8.1.40.0040.00417.50
8.1.30.0090.00017.54
8.1.20.0050.00317.49
8.1.10.0080.00017.46
8.1.00.0040.00417.35
8.0.300.0040.00418.77
8.0.290.0000.00916.75
8.0.280.0000.00718.30
8.0.270.0040.00417.12
8.0.260.0030.00317.23
8.0.250.0000.00616.96
8.0.240.0040.00417.00
8.0.230.0060.00316.91
8.0.220.0000.00716.88
8.0.210.0000.00816.77
8.0.200.0030.00316.97
8.0.190.0090.00316.93
8.0.180.0000.00816.88
8.0.170.0040.00416.94
8.0.160.0070.00016.84
8.0.150.0000.00816.84
8.0.140.0030.00416.71
8.0.130.0030.00313.23
8.0.120.0080.00016.76
8.0.110.0000.00716.71
8.0.100.0070.00016.74
8.0.90.0050.00316.85
8.0.80.0080.01216.87
8.0.70.0050.00216.82
8.0.60.0040.00417.00
8.0.50.0000.00716.75
8.0.30.0110.00616.92
8.0.20.0110.00717.40
8.0.10.0040.00416.85
8.0.00.0110.00916.67
7.4.330.0050.00016.67
7.4.320.0000.00616.32
7.4.300.0030.00316.59
7.4.290.0060.00316.49
7.4.280.0040.00416.43
7.4.270.0030.00316.61
7.4.260.0030.00316.56
7.4.250.0040.00416.47
7.4.240.0020.00516.52
7.4.230.0070.00016.68
7.4.220.0030.01316.45
7.4.210.0050.01016.70
7.4.200.0030.00316.59
7.4.160.0090.00616.48
7.4.150.0030.01517.40
7.4.140.0090.01317.86
7.4.130.0080.01216.38
7.4.120.0100.00716.61
7.4.110.0060.01116.55
7.4.100.0170.01016.53
7.4.90.0080.00816.33
7.4.80.0070.01019.39
7.4.70.0120.00316.72
7.4.60.0100.00616.38
7.4.50.0090.00316.34
7.4.40.0040.01316.46
7.4.30.0150.00016.45
7.4.00.0060.00914.86
7.3.330.0060.00013.32
7.3.320.0000.00613.36
7.3.310.0030.00316.35
7.3.300.0030.00316.22
7.3.290.0060.00916.38
7.3.280.0080.00816.35
7.3.270.0060.01017.40
7.3.260.0110.01116.33
7.3.250.0100.00816.24
7.3.240.0110.00516.39
7.3.230.0100.01316.39
7.3.210.0100.00616.35
7.3.200.0080.00816.41
7.3.190.0170.00016.39
7.3.180.0110.01116.34
7.3.170.0030.01316.41
7.3.160.0040.01116.53
7.3.120.0070.01115.06
7.3.110.0070.00715.04
7.3.100.0090.00614.80
7.3.90.0030.01214.80
7.3.80.0040.00914.52
7.3.70.0030.01014.83
7.3.60.0030.01014.52
7.3.50.0000.01814.83
7.3.40.0030.00914.60
7.3.30.0030.01014.57
7.3.20.0120.00316.45
7.3.10.0070.00716.46
7.3.00.0100.00316.78
7.2.330.0070.01016.31
7.2.320.0060.01316.63
7.2.310.0060.00916.58
7.2.300.0140.00416.62
7.2.290.0140.00316.37
7.2.250.0100.01014.89
7.2.240.0060.01214.86
7.2.230.0000.01015.14
7.2.220.0040.01114.89
7.2.210.0070.00714.63
7.2.200.0030.00914.90
7.2.190.0060.00615.02
7.2.180.0110.00715.02
7.2.170.0060.00314.95
7.2.60.0190.00916.55
7.2.00.0110.00419.20
7.1.330.0030.01015.82
7.1.320.0060.00915.60
7.1.310.0000.00915.66
7.1.300.0100.00715.52
7.1.290.0030.01015.44
7.1.280.0000.00715.64
7.1.270.0100.00615.46
7.1.260.0100.00715.75
7.1.200.0030.00715.39
7.1.100.0090.00617.87
7.1.70.0100.00016.83
7.1.60.0130.01019.52
7.1.50.0030.01916.77
7.1.00.0100.07022.44
7.0.200.0130.00316.73
7.0.60.0070.04319.82
7.0.50.0030.04717.88
7.0.40.0130.06020.11
7.0.30.0170.05020.07
7.0.20.0330.05020.12
7.0.10.0100.08020.23
7.0.00.0100.08020.19
5.6.280.0030.07320.99
5.6.210.0170.07320.67
5.6.200.0030.04318.16
5.6.190.0070.09020.61
5.6.180.0230.04320.47
5.6.170.0330.06320.47
5.6.160.0030.07720.59
5.6.150.0070.08018.23
5.6.140.0070.03718.18
5.6.130.0130.06718.15
5.6.120.0100.07021.12
5.6.110.0170.08021.11
5.6.100.0070.08020.95
5.6.90.0100.07721.02
5.6.80.0070.07020.29
5.5.350.0170.07020.42
5.5.340.0000.05717.97
5.5.330.0100.03720.30
5.5.320.0100.07320.25
5.5.310.0170.04020.30
5.5.300.0100.03718.08
5.5.290.0030.05017.98
5.5.280.0000.04720.77
5.5.270.0070.04020.75
5.5.260.0000.08020.86
5.5.250.0100.06320.61
5.5.240.0200.07720.15

preferences:
46.11 ms | 400 KiB | 5 Q