3v4l.org

run code in 300+ PHP versions simultaneously
<?php class ArrayPath { const DEFAULT_SEPARATOR = '.'; static private $_sSeparator; public function getSeparator() { return self::$_sSeparator ?: self::DEFAULT_SEPARATOR; } } var_dump((new ArrayPath)->getSeparator());

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.0160.00016.38
8.3.50.0060.01518.09
8.3.40.0110.00718.44
8.3.30.0070.00718.51
8.3.20.0060.00321.97
8.3.10.0000.00821.83
8.3.00.0080.00023.57
8.2.180.0160.00618.34
8.2.170.0120.00322.96
8.2.160.0130.00719.14
8.2.150.0090.00024.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0050.00320.90
8.2.110.0000.00919.08
8.2.100.0120.00018.03
8.2.90.0000.00819.17
8.2.80.0000.00817.97
8.2.70.0060.00317.50
8.2.60.0050.00517.93
8.2.50.0030.00618.22
8.2.40.0050.00520.34
8.2.30.0000.00921.09
8.2.20.0050.00217.96
8.2.10.0000.00718.04
8.2.00.0000.00918.01
8.1.280.0110.00425.92
8.1.270.0040.00423.79
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0090.00022.67
8.1.230.0040.00820.27
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0100.00317.35
8.1.190.0070.00417.23
8.1.180.0050.00519.12
8.1.170.0000.00818.50
8.1.160.0040.00418.70
8.1.150.0040.00420.05
8.1.140.0040.00419.50
8.1.130.0100.00018.84
8.1.120.0050.00217.39
8.1.110.0040.00417.29
8.1.100.0030.00517.31
8.1.90.0000.00817.33
8.1.80.0000.00717.41
8.1.70.0040.00417.38
8.1.60.0090.00017.37
8.1.50.0040.00417.36
8.1.40.0030.00617.33
8.1.30.0050.00317.63
8.1.20.0000.00817.59
8.1.10.0050.00217.52
8.1.00.0000.00817.43
8.0.300.0020.00519.21
8.0.290.0050.00216.63
8.0.280.0070.00018.31
8.0.270.0030.00317.27
8.0.260.0030.00318.44
8.0.250.0030.00316.95
8.0.240.0000.00716.93
8.0.230.0000.00716.77
8.0.220.0040.00416.83
8.0.210.0000.00716.72
8.0.200.0030.00316.88
8.0.190.0070.00016.87
8.0.180.0000.00716.90
8.0.170.0030.00516.86
8.0.160.0050.00316.87
8.0.150.0060.00616.76
8.0.140.0050.00216.65
8.0.130.0000.00513.25
8.0.120.0000.00816.68
8.0.110.0000.00716.81
8.0.100.0070.00316.76
8.0.90.0040.00416.82
8.0.80.0070.00816.77
8.0.70.0040.00416.82
8.0.60.0050.00216.81
8.0.50.0000.00816.73
8.0.30.0100.00616.88
8.0.20.0100.01117.40
8.0.10.0000.00716.98
8.0.00.0120.00616.81
7.4.330.0020.00215.55
7.4.320.0000.00616.45
7.4.300.0040.00416.50
7.4.290.0000.00716.38
7.4.280.0040.00416.34
7.4.270.0070.00016.54
7.4.260.0030.00316.37
7.4.250.0020.00516.54
7.4.240.0040.00416.54
7.4.230.0040.00416.25
7.4.220.0070.01116.29
7.4.210.0040.01116.57
7.4.200.0000.00716.48
7.4.160.0080.00716.34
7.4.150.0080.01117.40
7.4.140.0110.00717.86
7.4.130.0130.00616.34
7.4.120.0090.00716.42
7.4.110.0030.01316.68
7.4.100.0070.01016.50
7.4.90.0070.01016.53
7.4.80.0180.00019.39
7.4.70.0000.01816.46
7.4.60.0040.01316.56
7.4.50.0000.01616.07
7.4.40.0130.01016.69
7.4.30.0130.00616.46
7.4.10.0080.01116.65
7.4.00.0090.00815.56
7.3.330.0000.00513.30
7.3.320.0050.00013.22
7.3.310.0070.00016.20
7.3.300.0040.00416.19
7.3.290.0090.00516.28
7.3.280.0100.00716.28
7.3.270.0140.00417.40
7.3.260.0100.00716.45
7.3.250.0080.01116.23
7.3.240.0080.00916.35
7.3.230.0090.00916.28
7.3.210.0140.00316.14
7.3.200.0060.01016.16
7.3.190.0100.00716.42
7.3.180.0090.00616.22
7.3.170.0130.00316.43
7.3.160.0100.00716.47
7.3.130.0140.00416.42
7.3.120.0070.01115.33
7.3.110.0060.00915.15
7.3.100.0050.01015.40
7.3.90.0050.00915.24
7.3.80.0030.01015.13
7.3.70.0070.00915.22
7.3.60.0120.00415.12
7.3.50.0050.00615.37
7.3.40.0050.00815.28
7.3.30.0050.00715.04
7.3.20.0090.00517.16
7.3.10.0070.00617.06
7.3.00.0080.00816.96
7.2.330.0110.00616.57
7.2.320.0090.01216.72
7.2.310.0080.00816.27
7.2.300.0090.00916.57
7.2.290.0040.01216.66
7.2.260.0140.00316.23
7.2.250.0120.00715.69
7.2.240.0050.01015.40
7.2.230.0040.01015.26
7.2.220.0070.00915.42
7.2.210.0050.00615.40
7.2.200.0050.01215.27
7.2.190.0050.01115.35
7.2.180.0050.00715.36
7.2.170.0060.00715.40
7.2.160.0070.00815.48
7.2.150.0060.00917.42
7.2.140.0060.00917.58
7.2.130.0050.00617.50
7.2.120.0030.01117.59
7.2.110.0090.00817.06
7.2.100.0070.00517.16
7.2.90.0040.01017.05
7.2.80.0060.00917.14
7.2.70.0060.00717.27
7.2.60.0060.00817.22
7.2.50.0030.00917.20
7.2.40.0040.00717.45
7.2.30.0040.00817.41
7.2.20.0050.01017.35
7.2.10.0000.01217.28
7.2.00.0050.00717.36
7.1.330.0050.00616.14
7.1.320.0060.00916.22
7.1.310.0060.00716.22
7.1.300.0050.00616.14
7.1.290.0050.00616.15
7.1.280.0030.01016.19
7.1.270.0070.00816.14
7.1.260.0050.00816.21
7.1.250.0040.00916.61
7.1.240.0040.00817.31
7.1.230.0030.01016.47
7.1.220.0060.00916.32
7.1.210.0050.00716.38
7.1.200.0090.00216.16
7.1.190.0030.00916.47
7.1.180.0020.01016.55
7.1.170.0070.00516.61
7.1.160.0050.00816.39
7.1.150.0070.00516.49
7.1.140.0030.00816.38
7.1.130.0050.00716.46
7.1.120.0070.00816.46
7.1.110.0110.00316.42
7.1.100.1210.00816.25
7.1.90.0960.01016.20
7.1.80.0870.00916.17
7.1.70.0940.01016.05
7.1.60.1020.01221.99
7.1.50.1060.01422.02
7.1.40.0980.01021.84
7.1.30.1160.01021.82
7.1.20.1040.01221.88
7.1.10.0870.00915.76
7.1.00.0800.01015.79
7.0.330.0080.00817.22
7.0.320.0060.00616.97
7.0.310.0030.00916.09
7.0.300.0070.00716.06
7.0.290.0060.00816.10
7.0.280.0070.00516.12
7.0.270.0050.00516.14
7.0.260.0090.00216.18
7.0.250.0080.00416.30
7.0.240.0980.00916.09
7.0.230.1040.01015.95
7.0.220.0960.01015.87
7.0.210.0910.00315.73
7.0.200.1150.00815.71
7.0.190.1270.01215.77
7.0.180.1070.00815.50
7.0.170.1130.01015.40
7.0.160.0920.01015.57
7.0.150.0730.00815.59
7.0.140.0750.01115.65
7.0.130.0800.00815.61
7.0.120.0840.00915.63
7.0.110.0810.00915.56
7.0.100.0750.00915.47
7.0.90.0770.01015.52
7.0.80.0900.01015.53
7.0.70.0820.01015.53
7.0.60.0850.00615.47
7.0.50.1070.00715.59
7.0.40.0820.00814.23
7.0.30.0760.01114.36
7.0.20.0820.00814.22
7.0.10.0840.00914.32
7.0.00.0870.00914.29
5.6.400.0060.00615.64
5.6.390.0030.01015.77
5.6.380.0060.00615.06
5.6.370.0030.00915.75
5.6.360.0070.01015.78
5.6.350.0030.01015.99
5.6.340.0090.00615.70
5.6.330.0080.00816.04
5.6.320.0060.00915.78
5.6.310.0000.01515.88
5.6.300.0090.00916.13
5.6.290.0030.01216.08
5.6.280.0100.00715.48
5.6.270.0000.01315.62
5.6.260.0040.00915.53
5.6.250.0090.00615.82
5.6.240.0080.00415.95
5.6.230.0070.01015.84
5.6.220.0060.01015.69
5.6.210.0090.00915.65
5.6.200.0030.01415.69
5.6.190.0030.01015.62
5.6.180.0030.01015.68
5.6.170.0000.01515.70
5.6.160.0070.00715.98
5.6.150.0110.00415.83
5.6.140.0040.00815.80
5.6.130.0100.00015.64
5.6.120.0070.01115.76
5.6.110.0060.01015.57
5.6.100.0030.00615.90
5.6.90.0030.00915.60
5.6.80.0000.01215.66
5.6.70.0070.00715.50
5.6.60.0070.01115.91
5.6.50.0110.00415.87
5.6.40.0040.01115.54
5.6.30.0060.00315.84
5.6.20.0090.00315.61
5.6.10.0000.01115.90
5.6.00.0070.00715.61

preferences:
58.83 ms | 400 KiB | 5 Q