3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Test { function sqrt($arg=null) { return 'test'; } } namespace Second { function sqrt($arg=null) { return 'second'; } } namespace { use Test; echo sqrt(); }

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.0130.00916.74
8.3.50.0140.00716.11
8.3.40.0130.00718.84
8.3.30.0080.00618.87
8.3.20.0050.00320.35
8.3.10.0070.00023.70
8.3.00.0080.00022.15
8.2.180.0140.00716.50
8.2.170.0140.00022.96
8.2.160.0070.00719.08
8.2.150.0000.00824.18
8.2.140.0070.00024.66
8.2.130.0060.00321.08
8.2.120.0090.00026.35
8.2.110.0060.00322.27
8.2.100.0060.00917.60
8.2.90.0050.00318.89
8.2.80.0040.00417.97
8.2.70.0000.00917.36
8.2.60.0060.00317.91
8.2.50.0000.00818.10
8.2.40.0050.00320.64
8.2.30.0070.00019.09
8.2.20.0000.00717.98
8.2.10.0030.00518.05
8.2.00.0000.00818.01
8.1.280.0080.01225.92
8.1.270.0000.00822.10
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00020.76
8.1.230.0070.00419.01
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0000.01017.35
8.1.190.0030.00617.11
8.1.180.0040.00418.10
8.1.170.0080.00020.75
8.1.160.0040.00419.01
8.1.150.0040.00420.51
8.1.140.0040.00419.35
8.1.130.0050.00518.74
8.1.120.0040.00417.32
8.1.110.0040.00417.31
8.1.100.0000.00917.22
8.1.90.0000.00817.38
8.1.80.0030.00317.21
8.1.70.0000.00717.24
8.1.60.0080.00017.45
8.1.50.0070.00017.47
8.1.40.0030.00617.48
8.1.30.0040.00417.60
8.1.20.0040.00417.57
8.1.10.0030.00617.39
8.1.00.0000.00717.44
8.0.300.0030.00619.83
8.0.290.0000.00816.63
8.0.280.0000.00818.34
8.0.270.0030.00317.18
8.0.260.0030.00316.80
8.0.250.0030.00316.96
8.0.240.0000.00716.86
8.0.230.0060.00316.84
8.0.220.0030.00316.73
8.0.210.0000.00716.92
8.0.200.0070.00017.00
8.0.190.0050.00316.85
8.0.180.0040.00416.80
8.0.170.0040.00416.95
8.0.160.0040.00416.82
8.0.150.0000.00716.72
8.0.140.0040.00416.73
8.0.130.0060.00013.27
8.0.120.0040.00416.84
8.0.110.0030.00316.77
8.0.100.0000.00716.72
8.0.90.0040.00416.88
8.0.80.0160.00616.92
8.0.70.0000.00716.66
8.0.60.0000.00716.84
8.0.50.0000.00716.77
8.0.30.0080.01117.11
8.0.20.0100.00817.40
8.0.10.0000.01016.72
8.0.00.0070.01016.73
7.4.330.0020.00215.55
7.4.320.0030.00316.38
7.4.300.0020.00516.48
7.4.290.0030.00316.44
7.4.280.0080.00016.32
7.4.270.0000.00716.48
7.4.260.0040.00416.39
7.4.250.0070.00016.26
7.4.240.0030.00316.46
7.4.230.0030.00316.26
7.4.220.0090.01216.36
7.4.210.0060.01316.50
7.4.200.0000.00716.46
7.4.160.0070.01116.43
7.4.150.0090.00917.40
7.4.140.0080.01317.86
7.4.130.0160.01016.35
7.4.120.0090.01116.43
7.4.110.0100.00716.35
7.4.100.0140.00716.38
7.4.90.0100.00616.64
7.4.80.0080.01219.39
7.4.70.0090.01216.54
7.4.60.0160.00016.41
7.4.50.0050.00816.40
7.4.40.0110.00616.50
7.4.30.0090.01016.45
7.4.00.0060.01014.80
7.3.330.0080.00013.19
7.3.320.0000.00513.06
7.3.310.0040.00416.25
7.3.300.0070.00016.23
7.3.290.0070.00916.22
7.3.280.0070.00916.20
7.3.270.0100.00717.40
7.3.260.0100.00816.24
7.3.250.0110.00916.31
7.3.240.0100.00916.40
7.3.230.0100.00716.48
7.3.210.0100.00716.33
7.3.200.0090.00916.20
7.3.190.0120.00916.42
7.3.180.0100.00716.50
7.3.170.0110.00416.31
7.3.160.0200.00016.44
7.3.120.0040.01414.86
7.3.110.0090.00314.82
7.3.100.0030.00714.25
7.3.90.0030.00714.90
7.3.80.0070.00314.79
7.3.70.0060.00914.68
7.3.60.0030.01014.86
7.3.50.0000.01114.50
7.3.40.0080.00314.77
7.3.30.0030.01014.52
7.3.20.0040.00816.28
7.3.10.0040.01116.37
7.3.00.0000.00916.55
7.2.330.0070.01016.40
7.2.320.0150.00616.66
7.2.310.0060.01216.40
7.2.300.0080.01616.47
7.2.290.0130.00316.52
7.2.250.0070.01415.11
7.2.240.0040.00814.77
7.2.230.0030.01015.13
7.2.220.0030.01014.84
7.2.210.0090.00314.77
7.2.200.0040.01215.00
7.2.190.0120.00014.79
7.2.180.0070.00714.61
7.2.170.0120.00314.83
7.2.60.0050.00816.86
7.2.00.0050.00819.05
7.1.330.0000.01615.55
7.1.320.0050.00315.81
7.1.310.0060.00315.47
7.1.300.0120.00315.66
7.1.290.0070.01015.32
7.1.280.0100.00315.62
7.1.270.0060.00615.32
7.1.260.0130.00015.58
7.1.200.0090.00615.69
7.1.100.0030.00617.79
7.1.70.0070.00716.96
7.1.60.0210.00735.09
7.1.50.0300.00334.61
7.1.40.0250.01234.35
7.1.30.0170.01434.39
7.1.20.0110.01834.50
7.1.10.0060.00916.36
7.1.00.0060.00916.58
7.0.200.0070.00716.83
7.0.190.0030.01116.34
7.0.180.0030.01516.18
7.0.170.0060.00815.99
7.0.160.0000.01516.00
7.0.150.0060.00916.00
7.0.140.0070.00716.34
7.0.130.0070.00716.31
7.0.120.0070.00716.30
7.0.110.0030.01016.18
7.0.100.0030.01016.12
7.0.90.0060.00616.08
7.0.80.0060.00616.37
7.0.70.0040.01116.19
7.0.60.0110.00315.91
7.0.50.0070.01016.32
7.0.40.0000.01416.28
7.0.30.0030.01016.45
7.0.20.0030.01016.23
7.0.10.0000.01316.41
7.0.00.0100.00316.19

preferences:
40.47 ms | 401 KiB | 5 Q