3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (substr('Foo\\', -1) === '\\') { echo "Yes, really."; }

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.130.0080.00018.07
8.3.120.0040.00420.62
8.3.110.0060.00320.94
8.3.100.0060.00324.06
8.3.90.0040.00426.77
8.3.80.0060.00317.97
8.3.70.0090.00918.18
8.3.60.0080.00816.48
8.3.50.0140.00716.60
8.3.40.0100.01020.12
8.3.30.0070.00718.59
8.3.20.0000.00724.18
8.3.10.0040.00424.66
8.3.00.0070.00026.16
8.2.250.0110.00816.60
8.2.240.0110.00716.80
8.2.230.0090.00622.58
8.2.220.0230.00037.54
8.2.210.0150.00326.77
8.2.200.0040.01116.63
8.2.190.0110.00418.04
8.2.180.0090.00918.29
8.2.170.0150.00018.96
8.2.160.0070.00722.96
8.2.150.0070.00025.66
8.2.140.0070.00024.66
8.2.130.0040.00426.16
8.2.120.0070.00026.16
8.2.110.0070.00322.25
8.2.100.0100.00017.72
8.2.90.0000.00817.90
8.2.80.0030.00717.97
8.2.70.0050.00317.91
8.2.60.0050.00318.22
8.2.50.0050.00318.10
8.2.40.0080.00019.14
8.2.30.0030.00619.03
8.2.20.0040.00419.23
8.2.10.0000.00817.87
8.2.00.0140.00317.57
8.1.300.0060.00317.70
8.1.290.0030.00630.84
8.1.280.0100.00725.92
8.1.270.0000.00724.66
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0080.00023.88
8.1.230.0060.00620.95
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0040.00417.10
8.1.190.0000.00817.13
8.1.180.0040.00418.10
8.1.170.0060.00318.46
8.1.160.0000.00819.01
8.1.150.0040.00418.51
8.1.140.0030.00617.33
8.1.130.0080.00817.36
8.1.120.0120.00617.29
8.1.110.0130.00417.39
8.1.100.0140.00317.38
8.1.90.0100.00817.34
8.1.80.0090.00917.28
8.1.70.0110.00617.30
8.1.60.0120.00817.49
8.1.50.0160.00317.45
8.1.40.0170.00317.43
8.1.30.0230.00017.45
8.1.20.0180.00317.50
8.1.10.0150.00717.43
8.1.00.0140.00717.39
8.0.300.0050.00320.06
8.0.290.0040.00416.63
8.0.280.0030.00618.49
8.0.270.0050.00317.99
8.0.260.0100.00517.07
8.0.250.0130.00317.07
8.0.240.0110.00517.07
8.0.230.0050.01117.07
8.0.220.0120.00317.07
8.0.210.0100.00717.07
8.0.200.0120.00417.07
8.0.190.0080.00817.07
8.0.180.0120.00317.07
8.0.170.0050.01117.07
8.0.160.0140.00317.07
8.0.150.0130.00317.07
8.0.140.0110.00517.07
8.0.130.0100.00717.07
8.0.120.0040.01317.07
8.0.110.0120.00417.07
8.0.100.0170.00017.07
8.0.90.0090.00917.07
8.0.80.0120.00717.07
8.0.70.0120.00417.07
8.0.60.0080.00817.07
8.0.50.0080.00817.07
8.0.30.0160.00017.07
8.0.20.0000.01517.07
8.0.10.0170.00017.07

preferences:
26.87 ms | 403 KiB | 5 Q