3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo rtrim('templatetwig.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.40.0090.00618.66
8.3.30.0100.00718.47
8.3.20.0050.00224.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.170.0200.00018.86
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0080.00026.35
8.2.110.0060.00319.30
8.2.100.0130.00317.66
8.2.90.0080.00019.45
8.2.80.0060.00318.98
8.2.70.0000.00817.63
8.2.60.0030.00617.50
8.2.50.0040.00418.10
8.2.40.0080.00021.02
8.2.30.0040.00419.17
8.2.20.0000.00717.98
8.2.10.0040.00419.19
8.2.00.0000.00719.12
8.1.270.0080.00023.99
8.1.260.0100.01028.09
8.1.250.0040.00428.09
8.1.240.0060.00322.10
8.1.230.0040.00820.93
8.1.220.0040.00417.74
8.1.210.0050.00318.79
8.1.200.0030.00617.23
8.1.190.0030.00617.10
8.1.180.0000.00918.10
8.1.170.0090.00018.27
8.1.160.0030.00618.75
8.1.150.0050.00318.42
8.1.140.0070.00018.66
8.1.130.0080.00020.06
8.1.120.0040.00417.20
8.1.110.0070.00317.18
8.1.100.0000.00717.32
8.1.90.0040.00417.25
8.1.80.0050.00217.27
8.1.70.0030.00317.31
8.1.60.0090.00017.43
8.1.50.0070.00317.36
8.1.40.0000.00717.38
8.1.30.0030.00617.54
8.1.20.0000.00917.53
8.1.10.0000.00717.43
8.1.00.0050.00317.44
8.0.300.0070.00020.13
8.0.290.0040.00416.58
8.0.280.0000.00718.30
8.0.270.0030.00317.89
8.0.260.0000.00718.41
8.0.250.0040.00416.73
8.0.240.0080.00016.88
8.0.230.0000.00716.70
8.0.220.0040.00416.72
8.0.210.0030.00316.71
8.0.200.0070.00016.67
8.0.190.0050.00216.67
8.0.180.0070.00016.62
8.0.170.0090.00016.65
8.0.160.0000.00716.71
8.0.150.0050.00316.74
8.0.140.0000.00816.74
8.0.130.0000.00613.11
8.0.120.0040.00416.61
8.0.110.0000.00816.74
8.0.100.0040.00416.55
8.0.90.0040.00416.75
8.0.80.0080.01116.75
8.0.70.0050.00216.61
8.0.60.0040.00416.77
8.0.50.0040.00316.62
8.0.30.0450.00716.68
8.0.20.0220.00916.79
8.0.10.0260.00316.84
8.0.00.0180.00916.90
7.4.330.0000.00415.55
7.4.320.0060.00016.38
7.4.300.0030.00316.37
7.4.290.0040.00416.39
7.4.280.0040.00416.32
7.4.270.0040.00416.37
7.4.260.0060.00013.12
7.4.250.0040.00416.46
7.4.240.0070.00016.32
7.4.230.0000.00716.55
7.4.220.0000.00716.46
7.4.210.0080.00616.44
7.4.200.0070.00016.25
7.4.160.0230.00916.37
7.4.150.0210.00616.37
7.4.140.0100.02016.30
7.4.130.0190.00916.21
7.4.120.0160.01016.23
7.4.110.0210.00416.21
7.4.100.0300.00916.46
7.4.90.0200.00916.32
7.4.80.0190.01116.25
7.4.70.0180.01116.39
7.4.60.0450.01116.26
7.4.50.0290.00916.08
7.4.40.0150.01616.07
7.4.30.0150.01916.36
7.4.20.0360.00816.40
7.4.10.0290.00316.30
7.4.00.0240.01816.36
7.3.330.0030.00316.18
7.3.320.0030.00313.02
7.3.310.0050.00216.03
7.3.300.0030.00316.11
7.3.290.0100.00816.13
7.3.280.0130.00316.14
7.3.270.0190.00716.05
7.3.260.0600.01216.09
7.3.250.0210.00716.20
7.3.240.0240.00316.16
7.3.230.0200.00716.14
7.3.220.0220.01315.98
7.3.210.0160.01315.98
7.3.200.0270.00816.09
7.3.190.0190.01116.01
7.3.180.0360.00316.01
7.3.170.0280.01016.06
7.3.160.0220.00716.00
7.3.150.0220.01016.09
7.3.140.0220.00815.99
7.3.130.0230.01316.02
7.3.120.0350.00816.03
7.3.110.0210.01715.91
7.3.100.0250.00915.92
7.3.90.0310.00616.30
7.3.80.0210.01316.01
7.3.70.0250.00716.16
7.3.60.0350.01116.32
7.3.50.0310.00716.27
7.3.40.0220.01116.25
7.3.30.0320.00516.31
7.3.20.0220.00716.24
7.3.10.0260.00416.15
7.3.00.0390.00616.15

preferences:
53.03 ms | 400 KiB | 5 Q