3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = 'hello'; var_dump($s[0]);

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.4.130.0040.00517.88
8.4.120.0070.00422.46
8.4.110.0150.00422.39
8.4.100.0140.00817.78
8.4.90.0070.00220.41
8.4.80.0120.00917.59
8.4.70.0060.00317.79
8.4.60.0110.00618.68
8.4.50.0090.01119.59
8.4.40.0100.01017.63
8.4.30.0170.00318.65
8.4.20.0130.01019.64
8.4.10.0030.00619.39
8.3.260.0040.00516.50
8.3.250.0100.01218.72
8.3.240.0080.01116.53
8.3.230.0140.00616.72
8.3.220.0050.00317.15
8.3.210.0090.00816.59
8.3.200.0070.00216.50
8.3.190.0090.01016.89
8.3.180.0070.01122.61
8.3.170.0120.00617.11
8.3.160.0120.00620.68
8.3.150.0120.00616.88
8.3.140.0110.00017.23
8.3.130.0030.00618.13
8.3.120.0050.00518.88
8.3.110.0340.00816.18
8.3.100.0380.00916.33
8.3.90.0390.00816.36
8.3.80.0440.00316.11
8.3.70.0370.01316.00
8.3.60.0450.00316.13
8.3.50.0420.00316.25
8.3.40.0400.00317.12
8.3.30.0350.00617.25
8.3.20.0280.01117.23
8.3.10.0240.01217.25
8.3.00.0130.00717.25
8.2.290.0130.00620.57
8.2.280.0060.00318.25
8.2.270.0090.00016.37
8.2.260.0110.00416.87
8.2.250.0040.00418.24
8.2.240.0100.00618.97
8.2.230.0220.01515.99
8.2.220.0390.00016.30
8.2.210.0250.01416.02
8.2.200.0390.01016.24
8.2.190.0270.01716.13
8.2.180.0240.01715.97
8.2.170.0360.00717.75
8.2.160.0360.00717.59
8.2.150.0320.00617.50
8.2.140.0210.00717.50
8.2.130.0360.00017.25
8.2.120.0350.00917.61
8.2.110.0370.00617.60
8.2.100.0300.01017.38
8.2.90.0370.00717.48
8.2.80.0320.00717.25
8.2.70.0290.01317.13
8.2.60.0570.01117.13
8.2.50.0340.01617.38
8.2.40.0300.01017.38
8.2.30.0340.00617.00
8.2.20.0310.00917.25
8.2.10.0220.01517.38
8.2.00.0330.00716.98
8.1.330.0130.00621.79
8.1.320.0130.00616.31
8.1.310.0050.00216.87
8.1.300.0080.00019.46
8.1.290.0280.00616.25
8.1.280.0270.00715.98
8.1.270.0230.00517.34
8.1.260.0220.00917.24
8.1.250.0310.01617.25
8.1.240.0300.00717.36
8.1.230.0250.00817.11
8.1.220.0160.01617.00
8.1.210.0170.00717.00
8.1.200.0160.00716.88
8.1.190.0240.00516.85
8.1.180.0160.00517.00
8.1.170.0210.00417.13
8.1.160.0270.00617.13
8.1.150.0250.01417.13
8.1.140.0350.00417.21
8.1.130.0330.00617.13
8.1.120.0220.01617.13
8.1.110.0270.01416.97
8.1.100.0250.01417.00
8.1.90.0280.01117.22
8.1.80.0320.01316.88
8.1.70.0340.00717.00
8.1.60.0450.00317.25
8.1.50.0290.01017.35
8.1.40.0320.01017.00
8.1.30.0340.00417.46
8.1.20.0260.00017.47
8.1.10.0250.00317.25
8.1.00.0270.01317.13

preferences:
28 ms | 403 KiB | 5 Q