3v4l.org

run code in 300+ PHP versions simultaneously
<?php $first = null; $first?->addFunds( $second->detractFunds($amount) );

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.120.0050.00422.53
8.4.110.0130.00722.23
8.4.100.0090.01117.72
8.4.90.0140.00717.50
8.4.80.0120.00917.84
8.4.70.0130.00717.48
8.4.60.0120.00818.48
8.4.50.0110.00917.73
8.4.40.0130.00319.30
8.4.30.0100.01020.09
8.4.20.0170.00317.92
8.4.10.0060.00319.45
8.3.250.0090.00518.65
8.3.240.0120.00716.63
8.3.230.0120.00716.44
8.3.220.0130.00517.25
8.3.210.0120.00716.42
8.3.200.0140.00516.62
8.3.190.0100.00716.80
8.3.180.0080.00616.39
8.3.170.0180.00016.44
8.3.160.0140.00318.39
8.3.150.0160.00317.12
8.3.140.0050.00316.50
8.3.130.0040.00416.66
8.3.120.0130.00620.39
8.3.110.0040.00420.94
8.3.100.0000.01524.06
8.3.90.0140.00426.77
8.3.80.0090.00019.36
8.3.70.0000.01516.63
8.3.60.0100.01018.18
8.3.50.0110.00924.43
8.3.40.0040.01121.69
8.3.30.0000.01418.67
8.3.20.0040.00424.18
8.3.10.0000.00824.66
8.3.00.0040.00426.16
8.2.290.0120.00720.63
8.2.280.0120.00718.12
8.2.270.0140.00416.65
8.2.260.0030.01016.72
8.2.250.0000.00818.27
8.2.240.0040.00418.66
8.2.230.0100.01022.58
8.2.220.0100.01037.54
8.2.210.0080.00026.77
8.2.200.0030.00618.88
8.2.190.0040.01116.60
8.2.180.0120.00325.92
8.2.170.0090.00918.71
8.2.160.0030.01022.96
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00420.82
8.2.110.0030.00620.43
8.2.100.0030.00618.82
8.1.330.0100.00918.19
8.1.320.0110.01015.96
8.1.310.0070.01016.57
8.1.300.0040.00418.43
8.1.290.0030.00630.84
8.1.280.0100.00325.92
8.1.270.0060.00323.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00318.51
8.1.230.0060.00318.33
7.4.120.0230.00716.45
7.4.110.0190.01316.42
7.4.100.0170.01316.42
7.4.90.0230.00916.38
7.4.80.0240.00916.31
7.4.70.0220.00616.51
7.4.60.0210.01016.27
7.4.50.0230.00616.49
7.4.40.0220.00916.40
7.4.30.0200.02016.36
7.4.20.0180.01216.39
7.4.10.0240.00616.31
7.4.00.0140.00816.53
7.3.240.0060.01016.26
7.3.230.0170.01116.13
7.3.220.0240.00916.22
7.3.210.0260.00716.15
7.3.200.0260.00816.31
7.3.190.0290.00616.33
7.3.180.0230.00716.18
7.3.170.0290.00616.35
7.3.160.0320.00316.26
7.3.150.0240.00716.29
7.3.140.0220.01716.25
7.3.130.0270.00716.22
7.3.120.0210.00916.35
7.3.110.0230.01016.25
7.3.100.0220.01116.31
7.3.90.0190.00616.25
7.3.80.0180.00616.32
7.3.70.0200.00516.24
7.3.60.0160.00816.22
7.3.50.0170.00816.15
7.3.40.0150.01016.19
7.3.30.0200.00616.28
7.3.20.0180.01016.22
7.3.10.0150.00916.08
7.3.00.0140.01016.30
7.2.340.0230.00716.48
7.2.330.0230.00616.54
7.2.320.0270.00816.17
7.2.310.0170.01516.35
7.2.300.0260.00416.15
7.2.290.0240.01116.35
7.2.280.0180.01116.19
7.2.270.0240.00816.34
7.2.260.0190.01016.36
7.2.250.0190.01216.32
7.2.240.0200.01016.35
7.2.230.0260.00716.31
7.2.220.0150.00916.37
7.2.210.0210.00116.34
7.2.200.0150.01116.38
7.2.190.0110.01316.18
7.2.180.0150.01116.22
7.2.170.0160.00816.33
7.2.160.0200.00316.25
7.2.150.0190.01216.38
7.2.140.0120.01516.45
7.2.130.0170.00916.35
7.2.120.0150.01116.44
7.2.110.0180.00716.31
7.2.100.0210.00716.22
7.2.90.0200.00816.41
7.2.80.0150.01016.32
7.2.70.0200.00816.27
7.2.60.0180.01016.41
7.2.50.0150.01016.38
7.2.40.0220.00416.51
7.2.30.0220.00916.36
7.2.20.0170.00816.28
7.2.10.0210.00716.28
7.2.00.0150.00916.29

preferences:
60.66 ms | 403 KiB | 5 Q