3v4l.org

run code in 300+ PHP versions simultaneously
<?php $chemin ='tmp/export_xlsx/'; if (substr($chemin, strlen($chemin) - 1, 1)) { $chemin = substr($chemin, 0, $chemin - 1); } echo $chemin;

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.0040.01116.50
8.3.50.0220.00720.97
8.3.40.0090.00618.83
8.3.30.0110.00318.84
8.3.20.0070.00020.16
8.3.10.0040.00423.51
8.3.00.0080.00019.53
8.2.180.0070.01416.50
8.2.170.0140.00022.96
8.2.160.0060.01020.35
8.2.150.0030.00524.18
8.2.140.0000.00724.66
8.2.130.0040.00426.16
8.2.120.0050.00317.62
8.2.110.0090.00020.99
8.2.100.0110.00017.72
8.2.90.0000.00817.91
8.2.80.0060.00317.97
8.2.70.0030.00617.50
8.2.60.0030.00617.80
8.2.50.0040.00418.07
8.2.40.0040.00519.25
8.2.30.0040.00419.66
8.2.20.0080.00017.66
8.2.10.0040.00417.96
8.2.00.0040.00418.01
8.1.280.0080.00625.92
8.1.270.0030.00620.25
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00322.66
8.1.230.0090.00320.89
8.1.220.0040.00417.74
8.1.210.0000.00818.85
8.1.200.0080.00017.35
8.1.190.0040.00417.23
8.1.180.0080.00018.10
8.1.170.0030.00618.58
8.1.160.0030.00521.99
8.1.150.0070.00018.81
8.1.140.0030.00517.39
8.1.130.0000.00717.58
8.1.120.0000.00717.41
8.1.110.0070.00317.32
8.1.100.0040.00417.42
8.1.90.0000.00717.43
8.1.80.0080.00017.40
8.1.70.0040.00417.37
8.1.60.0000.00817.52
8.1.50.0040.00417.54
8.1.40.0030.00517.49
8.1.30.0060.00317.63
8.1.20.0030.00617.64
8.1.10.0000.00817.61
8.1.00.0000.00817.39
8.0.300.0040.00419.89
8.0.290.0040.00416.63
8.0.280.0030.00318.37
8.0.270.0040.00417.21
8.0.260.0000.00617.23
8.0.250.0050.00216.91
8.0.240.0000.00716.96
8.0.230.0070.00316.93
8.0.220.0030.00316.80
8.0.210.0000.00816.89
8.0.200.0030.00317.01
8.0.190.0000.00716.93
8.0.180.0030.00516.78
8.0.170.0040.00416.69
8.0.160.0040.00416.87
8.0.150.0040.00416.84
8.0.140.0040.00416.85
8.0.130.0030.00313.36
8.0.120.0000.00816.84
8.0.110.0030.00516.79
8.0.100.0040.00416.88
8.0.90.0050.00216.88
8.0.80.0030.01116.85
8.0.70.0000.00816.93
8.0.60.0040.00416.77
8.0.50.0040.00416.90
8.0.30.0100.01217.09
8.0.20.0070.01217.40
8.0.10.0040.00417.01
8.0.00.0070.01116.85
7.4.330.0000.00515.08
7.4.320.0000.00716.37
7.4.300.0040.00416.39
7.4.290.0000.00816.51
7.4.280.0070.00316.53
7.4.270.0030.00316.50
7.4.260.0070.00016.36
7.4.250.0040.00416.39
7.4.240.0030.00516.43
7.4.230.0030.00316.53
7.4.220.0030.02316.44
7.4.210.0110.00416.48
7.4.200.0030.00516.38
7.4.160.0100.01416.50
7.4.150.0120.00617.40
7.4.140.0150.00617.86
7.4.130.0160.00116.45
7.4.120.0130.00816.55
7.4.110.0110.00616.58
7.4.100.0060.01016.50
7.4.90.0070.01016.55
7.4.80.0070.01319.39
7.4.70.0100.00616.66
7.4.60.0060.01116.45
7.4.50.0030.00316.36
7.4.40.0100.00716.34
7.4.30.0130.00916.42
7.4.00.0070.00714.92
7.3.330.0000.00613.32
7.3.320.0080.00013.15
7.3.310.0030.00316.32
7.3.300.0030.00316.39
7.3.290.0050.01316.43
7.3.280.0100.01016.37
7.3.270.0000.01817.40
7.3.260.0130.00316.53
7.3.250.0030.01316.46
7.3.240.0150.00916.56
7.3.230.0140.00316.39
7.3.210.0040.01816.39
7.3.200.0150.00416.45
7.3.190.0060.01216.59
7.3.180.0040.01216.70
7.3.170.0100.01016.44
7.3.160.0100.00716.44
7.3.10.0070.00716.57
7.3.00.0040.00816.66
7.2.330.0110.01216.50
7.2.320.0030.02116.66
7.2.310.0130.00316.71
7.2.300.0080.00816.48
7.2.290.0070.01016.42
7.2.130.0190.00616.81
7.2.120.0130.00616.95
7.2.110.0130.01017.00
7.2.100.0000.01416.88
7.2.90.0060.00616.88
7.2.80.0030.00716.57
7.2.70.0030.01417.01
7.2.60.0040.01016.74
7.2.50.0030.00816.84
7.2.40.0110.00716.49
7.2.30.0080.00416.75
7.2.20.0030.01116.82
7.2.10.0150.00016.71
7.2.00.0070.00417.95
7.1.250.0080.00415.81
7.1.200.0070.00715.79
7.1.100.0000.00917.92
7.1.70.0040.00417.29
7.1.60.0060.01919.17
7.1.50.0250.00934.94
7.1.00.0030.07722.36
7.0.200.0120.00016.64
7.0.60.0070.05719.96
7.0.50.0070.06717.90
7.0.40.0100.04020.03
7.0.30.0570.07320.05
7.0.20.0230.04320.12
7.0.10.0030.06020.16
7.0.00.0030.04720.00
5.6.280.0000.03721.07
5.6.210.0070.08020.64
5.6.200.0030.08018.23
5.6.190.0100.08320.41
5.6.180.0070.03720.63
5.6.170.0370.05020.50
5.6.160.0100.07020.47
5.6.150.0070.08018.08
5.6.140.0030.04018.20
5.6.130.0130.08018.17
5.6.120.0070.08320.99
5.6.110.0200.07021.13
5.6.100.0170.07321.11
5.6.90.0100.07720.98
5.6.80.0130.06720.41
5.6.70.4400.04020.43
5.5.350.0230.06020.34
5.5.340.0030.04018.01
5.5.330.0100.05320.20
5.5.320.0030.06320.30
5.5.310.0130.04020.29
5.5.300.0170.07017.89
5.5.290.0100.06317.89
5.5.280.0130.06720.87
5.5.270.0030.05020.88
5.5.260.0230.05720.86
5.5.250.0100.08020.68
5.5.240.0100.08720.25
5.4.450.0800.06019.52
5.4.440.0970.04719.53
5.4.430.0870.05319.27
5.4.420.0900.05019.57
5.4.410.0830.05319.14
5.4.400.0730.05318.77
5.4.390.0770.05019.06
5.4.380.0700.07019.21
5.4.370.0900.03719.15
5.4.360.0730.05319.21
5.4.350.0700.05319.02
5.4.340.0730.04719.21
5.4.320.0970.04719.19
5.4.310.0930.04719.25
5.4.300.0930.05019.23
5.4.290.0730.05019.08
5.4.280.0870.05319.08
5.4.270.0730.05719.20
5.4.260.0930.04718.85
5.4.250.0830.05319.09
5.4.240.0830.05319.07
5.4.230.0970.04719.18
5.4.220.0900.05318.76
5.4.210.0870.05319.18
5.4.200.0800.05719.18
5.4.190.0970.04019.23
5.4.180.0870.05319.14
5.4.170.0800.06319.24
5.4.160.0770.05018.92
5.4.150.0800.05719.04
5.4.140.0770.04716.27
5.4.130.0700.04716.31
5.4.120.0800.05016.27
5.4.110.0630.05716.39
5.4.100.0830.06316.49
5.4.90.0670.05016.38
5.4.80.0800.04016.41
5.4.70.0270.06716.37
5.4.60.0330.06716.32
5.4.50.0030.06316.40
5.4.40.0000.06716.06
5.4.30.0100.06016.36
5.4.20.0000.06716.45

preferences:
58.96 ms | 401 KiB | 5 Q