3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'hello'; $str -= 'world'; var_dump($str);

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.5.10.0060.00216.86
8.5.00.0120.00920.27
8.4.150.0010.00014.05
8.4.140.0120.00918.04
8.4.130.0140.00618.00
8.4.120.0090.01024.05
8.4.110.0120.00922.35
8.4.100.0090.00418.86
8.4.90.0050.00518.74
8.4.80.0060.00420.51
8.4.70.0090.00318.03
8.4.60.0160.00618.76
8.4.50.0110.00917.82
8.4.40.0110.01117.95
8.4.30.0070.01320.88
8.4.20.0100.01019.56
8.4.10.0110.01119.55
8.3.280.0080.01218.41
8.3.270.0090.01016.49
8.3.260.0120.00816.65
8.3.250.0130.00618.77
8.3.240.0140.00517.23
8.3.230.0110.00916.92
8.3.220.0090.00719.04
8.3.210.0100.00816.54
8.3.200.0040.00416.90
8.3.190.0150.00318.93
8.3.180.0080.01116.89
8.3.170.0140.00416.53
8.3.160.0030.01517.37
8.3.150.0110.00716.86
8.3.140.0060.01316.86
8.3.130.0060.00316.55
8.3.120.0030.00620.66
8.3.110.0040.00416.84
8.3.100.0120.00416.91
8.3.90.0410.00616.37
8.3.80.0290.00316.25
8.3.70.0280.00416.25
8.3.60.0210.00416.38
8.3.50.0190.00416.34
8.3.40.0170.00317.38
8.3.30.0160.00417.63
8.3.20.0160.00417.63
8.3.10.0180.00017.38
8.3.00.0280.01217.38
8.2.290.0110.00720.30
8.2.280.0060.00818.63
8.2.270.0070.01316.54
8.2.260.0100.00718.33
8.2.250.0080.00016.90
8.2.240.0040.00417.12
8.2.230.0030.00620.94
8.2.220.0090.00024.06
8.2.210.0360.00016.34
8.2.200.0380.00316.59
8.2.190.0260.01316.50
8.2.180.0230.01316.63
8.2.170.0320.01417.75
8.2.160.0360.00017.63
8.2.150.0270.00617.60
8.2.140.0200.00017.63
8.2.130.0170.00317.60
8.2.120.0120.00917.60
8.2.110.0160.00417.50
8.2.100.0270.01017.50
8.2.90.0240.01617.63
8.2.80.0090.00917.46
8.2.70.0040.00817.50
8.2.60.0080.00417.50
8.2.50.0090.00317.63
8.2.40.0340.00017.63
8.2.30.0190.00017.37
8.2.20.0150.00417.25
8.2.10.0190.00017.25
8.2.00.0060.01317.63
8.1.330.0130.00521.67
8.1.320.0130.00716.34
8.1.310.0150.00416.25
8.1.300.0060.00318.49
8.1.290.0140.01115.88
8.1.280.0210.00215.98
8.1.270.0220.00317.25
8.1.260.0280.00617.23
8.1.250.0220.01416.88
8.1.240.0240.00916.88
8.1.230.0200.00717.23
8.1.220.0160.00317.22
8.1.210.0140.00417.11
8.1.200.0140.00317.25
8.1.190.0120.00617.23
8.1.180.0220.00016.88
8.1.170.0390.00017.23
8.1.160.0300.00917.22
8.1.150.0250.00617.22
8.1.140.0300.00716.88
8.1.130.0240.01017.00
8.1.120.0220.00416.88
8.1.110.0250.00717.21
8.1.100.0330.00316.97
8.1.90.0350.00417.13
8.1.80.0290.01017.13
8.1.70.0330.00717.10
8.1.60.0400.00317.25
8.1.50.0350.01417.25
8.1.40.0300.01317.25
8.1.30.0390.00317.47
8.1.20.0380.00317.13
8.1.10.0230.00717.00
8.1.00.0220.00616.88

preferences:
73.09 ms | 403 KiB | 5 Q