3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace baz { class bazbaz {} } namespace foo { use baz; class bar {} echo foo\bar::class . "\n"; echo \foo\bar::class . "\n"; echo bar\bazbaz::class . "\n"; echo \bar\bazbaz::class . "\n"; }

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.0120.00416.63
8.3.50.0150.00016.49
8.3.40.0070.01418.70
8.3.30.0070.00718.66
8.3.20.0050.00320.21
8.3.10.0040.00423.67
8.3.00.0000.00819.67
8.2.180.0210.00018.29
8.2.170.0150.00622.96
8.2.160.0090.00619.08
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0070.00319.27
8.2.120.0000.00826.35
8.2.110.0100.00021.12
8.2.100.0040.00817.66
8.2.90.0050.00319.09
8.2.80.0000.00717.97
8.2.70.0000.00817.63
8.2.60.0090.00017.80
8.2.50.0000.00818.10
8.2.40.0030.00520.39
8.2.30.0050.00320.82
8.2.20.0000.00817.84
8.2.10.0000.00717.77
8.2.00.0050.00217.89
8.1.280.0110.00425.92
8.1.270.0040.00422.07
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0090.00017.30
8.1.230.0060.00622.20
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0060.00317.23
8.1.190.0040.00417.10
8.1.180.0000.00718.10
8.1.170.0040.00418.46
8.1.160.0040.00418.86
8.1.150.0070.00318.66
8.1.140.0040.00419.35
8.1.130.0000.00718.75
8.1.120.0000.00917.35
8.1.110.0040.00417.28
8.1.100.0000.00817.25
8.1.90.0020.00517.34
8.1.80.0040.00417.35
8.1.70.0000.00717.34
8.1.60.0000.00817.30
8.1.50.0040.00417.36
8.1.40.0040.00417.34
8.1.30.0050.00217.43
8.1.20.0080.00017.49
8.1.10.0050.00217.41
8.1.00.0000.00717.26
8.0.300.0000.00818.77
8.0.290.0070.00016.63
8.0.280.0030.00318.24
8.0.270.0000.00717.24
8.0.260.0000.00616.80
8.0.250.0040.00316.72
8.0.240.0000.00716.81
8.0.230.0030.00316.79
8.0.220.0000.00716.76
8.0.210.0060.00316.71
8.0.200.0000.00616.83
8.0.190.0000.00816.75
8.0.180.0040.00416.71
8.0.170.0000.00716.84
8.0.160.0000.00716.69
8.0.150.0030.00316.69
8.0.140.0030.00416.63
8.0.130.0030.00313.17
8.0.120.0030.00516.62
8.0.110.0000.00716.77
8.0.100.0000.00716.64
8.0.90.0040.00416.66
8.0.80.0070.01016.73
8.0.70.0060.00316.59
8.0.60.0000.00716.63
8.0.50.0000.00816.62
8.0.30.0100.00716.95
8.0.20.0100.00917.40
8.0.10.0030.00516.76
8.0.00.0110.00716.48
7.4.330.0020.00215.55
7.4.320.0040.00416.46
7.4.300.0030.00316.37
7.4.290.0070.00016.31
7.4.280.0000.00816.27
7.4.270.0030.00316.47
7.4.260.0090.00016.37
7.4.250.0000.00816.43
7.4.240.0040.00416.35
7.4.230.0000.00716.44
7.4.220.0070.01016.44
7.4.210.0100.01016.32
7.4.200.0000.00716.37
7.4.160.0130.00316.24
7.4.150.0180.00617.40
7.4.140.0090.01417.86
7.4.130.0180.00016.36
7.4.120.0100.01016.48
7.4.110.0120.00616.46
7.4.100.0040.01716.48
7.4.90.0110.00716.25
7.4.80.0160.00019.39
7.4.70.0060.01216.31
7.4.60.0080.00816.20
7.4.50.0070.01016.14
7.4.40.0100.00616.36
7.4.30.0100.01316.57
7.4.00.0030.01314.93
7.3.330.0000.00613.17
7.3.320.0050.00013.02
7.3.310.0040.00416.21
7.3.300.0030.00316.17
7.3.290.0110.00416.16
7.3.280.0090.00816.15
7.3.270.0070.01017.40
7.3.260.0100.00716.47
7.3.250.0140.00416.28
7.3.240.0050.01316.29
7.3.230.0100.00616.51
7.3.210.0080.00816.35
7.3.200.0100.00716.39
7.3.190.0100.00616.18
7.3.180.0160.00016.43
7.3.170.0090.01216.21
7.3.160.0080.00816.45
7.3.120.0030.01014.61
7.3.110.0030.01014.91
7.3.100.0070.00714.63
7.3.90.0040.01214.64
7.3.80.0030.00914.48
7.3.70.0090.00614.48
7.3.60.0080.00614.80
7.3.50.0030.01314.51
7.3.40.0070.01014.40
7.3.30.0030.01314.80
7.3.20.0030.01516.44
7.3.10.0030.00916.56
7.3.00.0080.00716.52
7.2.330.0040.01316.35
7.2.320.0090.00916.37
7.2.310.0070.01016.54
7.2.300.0100.01316.42
7.2.290.0110.00516.55
7.2.240.0040.00714.76
7.2.230.0040.01414.75
7.2.220.0090.00614.76
7.2.210.0130.00314.99
7.2.200.0030.01314.88
7.2.190.0070.01014.68
7.2.180.0090.00014.94
7.2.170.0070.01014.90
7.2.160.0070.01014.58
7.2.150.0030.01316.71
7.2.140.0070.01016.59
7.2.130.0040.01216.93
7.2.120.0050.00616.69
7.2.110.0070.00616.77
7.2.100.0060.00816.70
7.2.90.0100.00316.76
7.2.80.0060.01016.87
7.2.70.0050.01116.81
7.2.60.0040.01016.65
7.2.50.0050.01016.78
7.2.40.0030.01016.66
7.2.30.0060.00716.81
7.2.20.0060.00816.80
7.2.10.0040.01116.84
7.2.00.0050.00817.59
7.1.330.0040.00815.65
7.1.320.0060.01015.69
7.1.310.0030.01215.82
7.1.300.0030.00915.78
7.1.290.0060.01015.34
7.1.280.0060.00915.62
7.1.270.0000.01115.63
7.1.260.0000.01015.58
7.1.250.0050.00915.65
7.1.200.0060.00615.68
7.1.100.0070.01018.18
7.1.70.0110.00716.84
7.1.60.0260.01334.96
7.1.50.0140.02534.41
7.1.40.0190.01334.32
7.1.30.0290.01434.38
7.1.20.0260.01434.40
7.1.10.0060.01316.44
7.1.00.0110.01216.36
7.0.200.0060.01216.76
7.0.190.0040.01416.56
7.0.180.0030.01616.00
7.0.170.0120.00716.27
7.0.160.0080.01316.12
7.0.150.0090.01016.33
7.0.140.0060.01316.12
7.0.130.0130.00616.29
7.0.120.0070.01316.43
7.0.110.0090.00916.37
7.0.100.0090.00916.11
7.0.90.0090.01216.20
7.0.80.0070.01316.27
7.0.70.0070.01316.07
7.0.60.0020.01815.88
7.0.50.0000.02016.21
7.0.40.0110.01116.29
7.0.30.0090.01316.41
7.0.20.0150.00616.50
7.0.10.0060.01516.50
7.0.00.0120.01116.35

preferences:
68.79 ms | 401 KiB | 5 Q