3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo rtrim('template.twig.twig', '.twig');

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.0110.00318.30
8.3.50.0090.00616.64
8.3.40.0070.01418.71
8.3.30.0100.00718.59
8.3.20.0070.00024.18
8.3.10.0040.00424.66
8.3.00.0070.00026.16
8.2.180.0060.01225.92
8.2.170.0090.00619.01
8.2.160.0110.00422.96
8.2.150.0080.00025.66
8.2.140.0040.01124.66
8.2.130.0040.00426.16
8.2.120.0080.00026.35
8.2.110.0110.00022.31
8.2.100.0070.00417.71
8.2.90.0080.00017.75
8.2.80.0080.00018.79
8.2.70.0030.00617.93
8.2.60.0000.00818.09
8.2.50.0060.00318.10
8.2.40.0040.00420.89
8.2.30.0000.01019.06
8.2.20.0070.00017.86
8.2.10.0040.00419.10
8.2.00.0070.00019.12
8.1.270.0040.00423.99
8.1.260.0120.00328.09
8.1.250.0070.00028.09
8.1.240.0080.00022.02
8.1.230.0090.00317.70
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0060.00317.10
8.1.190.0050.00317.10
8.1.180.0030.00618.10
8.1.170.0030.00618.46
8.1.160.0000.00818.71
8.1.150.0040.00418.74
8.1.140.0070.00018.76
8.1.130.0060.00320.05
8.1.120.0040.00417.36
8.1.110.0060.00317.37
8.1.100.0000.00817.35
8.1.90.0050.00217.33
8.1.80.0000.00717.30
8.1.70.0000.00717.27
8.1.60.0060.00317.46
8.1.50.0070.00417.34
8.1.40.0040.00417.39
8.1.30.0070.00017.44
8.1.20.0000.00817.46
8.1.10.0050.00317.30
8.1.00.0030.00517.36
8.0.300.0000.00718.77
8.0.290.0040.00416.63
8.0.280.0030.00318.27
8.0.270.0030.00416.65
8.0.260.0030.00318.38
8.0.250.0030.00516.76
8.0.240.0000.00716.83
8.0.230.0000.00616.71
8.0.220.0050.00316.79
8.0.210.0050.00316.62
8.0.200.0070.00016.83
8.0.190.0050.00316.85
8.0.180.0040.00416.74
8.0.170.0060.00316.79
8.0.160.0080.00016.62
8.0.150.0050.00316.71
8.0.140.0070.00016.67
8.0.130.0030.00313.21
8.0.120.0070.00016.71
8.0.110.0030.00516.64
8.0.100.0050.00216.64
8.0.90.0030.00516.75
8.0.80.0100.01016.72
8.0.70.0030.00516.60
8.0.60.0030.00316.76
8.0.50.0050.00216.70
8.0.30.0240.01316.66
8.0.20.0480.01016.80
8.0.10.0240.01016.85
8.0.00.0240.01216.82
7.4.330.0000.00515.55
7.4.320.0050.00216.35
7.4.300.0060.00016.32
7.4.290.0000.00716.22
7.4.280.0000.00716.39
7.4.270.0040.00416.46
7.4.260.0030.00313.12
7.4.250.0070.00016.37
7.4.240.0050.00316.32
7.4.230.0000.00716.45
7.4.220.0030.00316.31
7.4.210.0080.01016.46
7.4.200.0000.00716.46
7.4.160.0210.01316.40
7.4.150.0180.01616.31
7.4.140.0250.00516.30
7.4.130.0170.01316.43
7.4.120.0260.00716.34
7.4.110.0200.00916.34
7.4.100.0150.01916.25
7.4.90.0190.00816.16
7.4.80.0220.00616.35
7.4.70.0230.01216.21
7.4.60.0220.00916.31
7.4.50.0240.00816.21
7.4.40.0320.01016.05
7.4.30.0240.00916.36
7.4.20.0180.01316.18
7.4.10.0230.01016.24
7.4.00.0220.01116.25
7.3.330.0040.00416.04
7.3.320.0000.00512.96
7.3.310.0000.00716.17
7.3.300.0050.00316.12
7.3.290.0040.01516.09
7.3.280.0170.00516.10
7.3.270.0180.01416.07
7.3.260.0290.00416.11
7.3.250.0230.00816.06
7.3.240.0420.00516.11
7.3.230.0260.00816.08
7.3.220.0200.01616.09
7.3.210.0160.01616.05
7.3.200.0260.00715.97
7.3.190.0240.00916.08
7.3.180.0220.01016.00
7.3.170.0140.01516.03
7.3.160.0180.01415.98
7.3.150.0210.01016.00
7.3.140.0260.01315.99
7.3.130.0250.00816.06
7.3.120.0150.01516.06
7.3.110.0220.01116.05
7.3.100.0190.00815.94
7.3.90.0210.00416.31
7.3.80.0330.01016.07
7.3.70.0230.01216.21
7.3.60.0270.00616.31
7.3.50.0190.00816.22
7.3.40.0240.00716.22
7.3.30.0170.01416.25
7.3.20.0220.00716.21
7.3.10.0190.01516.16
7.3.00.0200.00716.09

preferences:
68.05 ms | 400 KiB | 5 Q