3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('serialize_precision', 14); $a = 676.71; $b = 108.05; var_dump($a - $b);

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.60.0120.00616.63
8.3.50.0090.00619.98
8.3.40.0070.00720.38
8.3.30.0070.00718.63
8.3.20.0040.00424.18
8.3.10.0060.00324.66
8.3.00.0000.00726.16
8.2.180.0120.00325.92
8.2.170.0110.00422.96
8.2.160.0100.00722.96
8.2.150.0050.00225.66
8.2.140.0070.00024.66
8.2.130.0050.00326.16
8.2.120.0050.00320.74
8.2.110.0030.00722.08
8.2.100.0070.00317.91
8.2.90.0090.00019.23
8.2.80.0030.00717.97
8.2.70.0060.00317.49
8.2.60.0040.00417.80
8.2.50.0040.00418.04
8.2.40.0040.00418.16
8.2.30.0040.00418.00
8.2.20.0040.00419.11
8.2.10.0050.00218.09
8.2.00.0000.00719.16
8.1.280.0100.01025.92
8.1.270.0040.00424.66
8.1.260.0000.00826.35
8.1.250.0000.00828.09
8.1.240.0070.00317.13
8.1.230.0080.00417.66
8.1.220.0040.00417.74
8.1.210.0000.00918.77
8.1.200.0030.00617.23
8.1.190.0050.00517.10
8.1.180.0090.00018.10
8.1.170.0000.00817.62
8.1.160.0060.00318.81
8.1.150.0000.00718.56
8.1.140.0040.00417.44
8.1.130.0070.00019.01
8.1.120.0070.00017.40
8.1.110.0000.00817.39
8.1.100.0000.00817.20
8.1.90.0180.00017.37
8.1.80.0160.00017.29
8.1.70.0130.00317.26
8.1.60.0140.00417.46
8.1.50.0160.00317.38
8.1.40.0200.00017.30
8.1.30.0150.00417.52
8.1.20.0150.00417.57
8.1.10.0170.00017.39
8.1.00.0090.00917.21
8.0.300.0060.00318.77
8.0.290.0000.00716.75
8.0.280.0030.00318.35
8.0.270.0000.00716.73
8.0.260.0030.00318.37
8.0.250.0030.00316.80
8.0.240.0040.00416.94
8.0.230.0070.00716.65
8.0.220.0110.00316.66
8.0.210.0120.00316.52
8.0.200.0160.00016.67
8.0.190.0130.00316.73
8.0.180.0130.00316.69
8.0.170.0150.00016.57
8.0.160.0150.00016.67
8.0.150.0150.00016.71
8.0.140.0110.00416.73
8.0.130.0150.00016.70
8.0.120.0040.01216.71
8.0.110.0140.00316.65
8.0.100.0100.00516.54
8.0.90.0100.00616.67
8.0.80.0170.00016.66
8.0.70.0140.00416.69
8.0.60.0150.00016.66
8.0.50.0150.00016.64
8.0.30.0110.00616.73
8.0.20.0090.00616.66
8.0.10.0040.00416.78
7.4.330.0020.00215.55
7.4.320.0000.00616.45
7.4.300.0050.00316.37
7.4.290.0100.00516.39
7.4.280.0090.00016.35
7.4.270.0000.00916.43
7.4.260.0000.01316.43
7.4.250.0080.00616.28
7.4.240.0070.00716.47
7.4.230.0140.00016.42
7.4.220.0150.00016.34
7.4.210.0090.00616.29
7.4.200.0160.00016.36
7.4.190.0100.00316.41
7.4.180.0100.00516.32
7.4.160.0150.00016.46
7.4.150.0080.00616.26
7.4.140.0080.00816.21
7.4.130.0050.01016.14
7.4.120.0130.00216.20
7.4.110.0040.01116.16
7.4.100.0100.00516.39
7.4.90.0060.00916.34
7.4.80.0080.00616.27
7.4.70.0090.00616.15
7.4.60.0110.00316.11
7.4.50.0080.00816.21
7.4.40.0110.00416.07
7.4.30.0100.00516.06
7.4.20.0070.00716.13
7.4.10.0140.00016.23
7.4.00.0100.00516.30

preferences:
73.75 ms | 400 KiB | 5 Q