3v4l.org

run code in 300+ PHP versions simultaneously
<?php $target = -5; $num = 3; $target =- $num; // Noncompliant; target = -3. Is that really what's meant? $target =+ $num; // Noncompliant; target = 3

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.30.0110.00721.34
8.5.20.0080.01020.23
8.5.10.0100.00720.24
8.5.00.0100.01019.73
8.4.180.0090.01222.17
8.4.170.0140.00723.93
8.4.160.0140.01123.10
8.4.150.0020.00014.05
8.4.140.0120.01117.36
8.4.130.0130.00717.72
8.4.120.0120.00922.27
8.4.110.0050.00422.31
8.4.100.0080.00820.60
8.4.90.0050.00620.46
8.4.80.0040.00417.73
8.4.70.0120.00817.66
8.4.60.0150.00618.67
8.4.50.0120.00818.46
8.4.40.0130.00719.24
8.4.30.0030.00620.82
8.4.20.0080.01119.50
8.4.10.0080.00024.05
8.3.300.0130.01018.95
8.3.290.0110.00920.62
8.3.280.0120.00718.19
8.3.270.0100.00916.61
8.3.260.0100.00916.46
8.3.250.0090.00919.05
8.3.240.0090.00918.79
8.3.230.0140.00616.74
8.3.220.0100.00917.30
8.3.210.0090.00616.75
8.3.200.0020.00716.80
8.3.190.0140.00717.05
8.3.180.0060.01216.62
8.3.170.0140.00418.88
8.3.160.0060.01217.21
8.3.150.0040.00417.19
8.3.140.0040.00416.29
8.3.130.0040.01116.46
8.3.120.0040.00720.66
8.3.110.0050.00516.74
8.3.100.0030.00616.47
8.3.90.0110.00326.77
8.3.80.0090.00018.43
8.3.70.0110.01116.38
8.3.60.0130.00918.06
8.3.50.0120.00918.30
8.3.40.0040.01420.20
8.3.30.0030.01218.68
8.3.20.0000.00824.18
8.3.10.0050.00324.66
8.3.00.0080.00026.16
8.2.300.0060.00320.37
8.2.290.0150.00420.45
8.2.280.0080.00418.25
8.2.270.0150.00417.00
8.2.260.0140.00018.16
8.2.250.0070.01318.09
8.2.240.0040.00416.86
8.2.230.0040.00420.94
8.2.220.0000.00824.06
8.2.210.0120.00626.77
8.2.200.0030.00616.38
8.2.190.0070.00716.63
8.2.180.0100.01016.63
8.2.170.0040.01119.11
8.2.160.0130.00322.96
8.2.150.0080.00025.66
8.2.140.0030.00924.66
8.2.130.0000.00726.16
8.2.120.0080.00026.16
8.2.110.0030.00622.29
8.2.100.0040.00817.75
8.2.90.0050.00317.63
8.2.80.0090.00018.79
8.2.70.0030.00617.68
8.2.60.0070.00018.16
8.2.50.0070.00019.25
8.2.40.0000.00821.02
8.2.30.0040.00419.17
8.2.20.0100.00518.85
8.2.10.0120.00518.96
8.2.00.0100.00718.91
8.1.340.0090.01017.41
8.1.330.0100.00721.80
8.1.320.0120.01016.12
8.1.310.0070.01118.29
8.1.300.0060.00318.56
8.1.290.0030.00630.84
8.1.280.0090.00625.92
8.1.270.0050.00224.66
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0060.00324.02
8.1.230.0060.00620.89
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0030.00617.23
8.1.190.0030.00517.11
8.1.180.0000.00718.75
8.1.170.0040.00418.59
8.1.160.0040.00419.05
8.1.150.0020.00518.66
8.1.140.0090.00818.52
8.1.130.0080.00818.61
8.1.120.0080.00918.54
8.1.110.0140.00318.65
8.1.100.0130.00318.64
8.1.90.0170.00018.62
8.1.80.0160.00018.66
8.1.70.0110.00818.49
8.1.60.0160.00318.78
8.1.50.0130.00518.65
8.1.40.0180.00318.79
8.1.30.0140.00518.74
8.1.20.0160.00318.87
8.1.10.0140.00518.70
8.1.00.0130.00718.54
8.0.300.0000.00718.77
8.0.290.0050.00316.75
8.0.280.0040.00418.34
8.0.270.0080.00817.92
8.0.260.0090.00617.95
8.0.250.0000.01118.09
8.0.240.0070.00517.96
8.0.230.0070.00217.90
8.0.220.0040.00418.02
8.0.210.0050.00517.90
8.0.200.0040.00817.89
8.0.190.0000.01017.92
8.0.180.0050.00518.00
8.0.170.0080.00417.86
8.0.160.0090.00417.96
8.0.150.0150.00017.91
8.0.140.0070.00917.90
8.0.130.0100.00317.91
8.0.120.0120.00417.85
8.0.110.0090.00617.86
8.0.100.0150.00017.96
8.0.90.0110.00417.91
8.0.80.0100.00617.93
8.0.70.0120.00417.98
8.0.60.0090.00517.91
8.0.50.0130.00417.84
8.0.30.0160.00017.80
8.0.20.0070.00817.91
8.0.10.0120.00418.02

preferences:
31.46 ms | 475 KiB | 5 Q