3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo rtrim('template.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.0120.00318.18
8.3.50.0150.00716.46
8.3.40.0000.01618.57
8.3.30.0080.00818.42
8.3.20.0070.00024.18
8.3.10.0070.00024.66
8.3.00.0040.00426.16
8.2.180.0070.01525.92
8.2.170.0150.00618.77
8.2.160.0070.00722.96
8.2.150.0030.00325.66
8.2.140.0040.00424.66
8.2.130.0030.00526.16
8.2.120.0050.00226.16
8.2.110.0070.01022.25
8.2.100.0110.00317.78
8.2.90.0040.00417.63
8.2.80.0050.00318.66
8.2.70.0070.00417.91
8.2.60.0000.00818.09
8.2.50.0030.00618.10
8.2.40.0000.00820.89
8.2.30.0100.00019.23
8.2.20.0030.00617.98
8.2.10.0000.00819.15
8.2.00.0050.00219.08
8.1.280.0170.00325.92
8.1.270.0080.00024.66
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0060.00922.01
8.1.230.0080.00417.57
8.1.220.0000.00817.74
8.1.210.0080.00018.77
8.1.200.0090.00017.13
8.1.190.0000.00817.00
8.1.180.0000.00818.10
8.1.170.0030.00618.49
8.1.160.0040.00418.65
8.1.150.0030.00518.63
8.1.140.0000.00718.66
8.1.130.0030.00320.05
8.1.120.0040.00417.34
8.1.110.0070.00317.38
8.1.100.0000.00717.29
8.1.90.0070.00017.29
8.1.80.0040.00417.39
8.1.70.0070.00017.35
8.1.60.0080.00017.47
8.1.50.0120.00017.35
8.1.40.0000.00717.30
8.1.30.0040.00417.53
8.1.20.0040.00417.48
8.1.10.0040.00417.37
8.1.00.0040.00417.30
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0040.00418.27
8.0.270.0070.00016.66
8.0.260.0030.00318.29
8.0.250.0030.00616.87
8.0.240.0040.00416.92
8.0.230.0030.00316.87
8.0.220.0000.00816.70
8.0.210.0040.00416.75
8.0.200.0040.00416.82
8.0.190.0040.00416.80
8.0.180.0030.00316.66
8.0.170.0030.00616.65
8.0.160.0000.00716.80
8.0.150.0000.00816.71
8.0.140.0000.00716.73
8.0.130.0000.00713.17
8.0.120.0060.00316.68
8.0.110.0040.00416.77
8.0.100.0040.00316.63
8.0.90.0000.00716.73
8.0.80.0080.01016.72
8.0.70.0000.00716.75
8.0.60.0040.00416.74
8.0.50.0030.00316.82
8.0.30.0200.01116.61
8.0.20.0240.00716.83
8.0.10.0200.01316.83
8.0.00.0240.01316.80
7.4.330.0040.00015.55
7.4.320.0000.00716.45
7.4.300.0060.00016.26
7.4.290.0070.00016.28
7.4.280.0040.00416.48
7.4.270.0040.00416.45
7.4.260.0000.00513.12
7.4.250.0000.00716.23
7.4.240.0010.00716.48
7.4.230.0000.00716.55
7.4.220.0030.00316.47
7.4.210.0070.00816.43
7.4.200.0000.00716.43
7.4.160.0210.00916.46
7.4.150.0320.01416.36
7.4.140.0230.01116.20
7.4.130.0190.01116.31
7.4.120.0240.00916.14
7.4.110.0240.00316.26
7.4.100.0230.00916.36
7.4.90.0220.01316.30
7.4.80.0260.00616.47
7.4.70.0230.01016.27
7.4.60.0220.00816.32
7.4.50.0180.01216.16
7.4.40.0210.00716.07
7.4.30.0240.00816.38
7.4.20.0280.00316.35
7.4.10.0210.01016.39
7.4.00.0240.01016.27
7.3.330.0030.00316.16
7.3.320.0020.00213.03
7.3.310.0070.00015.95
7.3.300.0060.00316.14
7.3.290.0050.01116.11
7.3.280.0040.01116.14
7.3.270.0310.01216.09
7.3.260.0200.01316.13
7.3.250.0270.01116.07
7.3.240.0260.00616.13
7.3.230.0170.01216.13
7.3.220.0240.00916.02
7.3.210.0330.00016.09
7.3.200.0350.00416.01
7.3.190.0250.00516.07
7.3.180.0190.01416.08
7.3.170.0230.00716.10
7.3.160.0280.00716.16
7.3.150.0170.01415.99
7.3.140.0190.01616.07
7.3.130.0260.00516.02
7.3.120.0220.01116.00
7.3.110.0220.00716.02
7.3.100.0210.01216.02
7.3.90.0310.00716.42
7.3.80.0190.01216.09
7.3.70.0110.01816.16
7.3.60.0300.00016.25
7.3.50.0220.00516.28
7.3.40.0230.00616.23
7.3.30.0190.00716.32
7.3.20.0250.00916.19
7.3.10.0170.01416.19
7.3.00.0250.00716.17

preferences:
68.16 ms | 400 KiB | 5 Q