3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set("precision", 0); var_dump((string)-INF); var_dump((string)-123);

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.0090.01120.66
8.4.110.0140.00622.39
8.4.100.0120.00817.76
8.4.90.0140.00617.57
8.4.80.0050.00517.54
8.4.70.0050.00417.69
8.4.60.0130.00917.79
8.4.50.0070.01017.58
8.4.40.0040.01218.54
8.4.30.0000.01018.34
8.4.20.0140.00719.44
8.4.10.0070.00321.73
8.3.250.0070.00818.73
8.3.240.0110.00716.52
8.3.230.0110.00716.89
8.3.220.0090.00918.87
8.3.210.0080.00416.38
8.3.200.0160.00616.78
8.3.190.0120.00418.67
8.3.180.0140.00517.09
8.3.170.0090.00916.41
8.3.160.0140.00416.79
8.3.150.0080.01117.23
8.3.140.0120.00618.93
8.3.130.0090.00016.85
8.3.120.0080.00019.00
8.3.110.0080.00020.94
8.3.100.0030.00624.06
8.3.90.0050.00326.77
8.3.80.0060.00316.63
8.3.70.0090.00616.58
8.3.60.0110.00716.88
8.3.50.0120.00319.99
8.3.40.0070.00722.13
8.3.30.0110.00318.54
8.3.20.0000.00824.18
8.3.10.0000.00824.66
8.3.00.0040.00426.16
8.2.290.0030.00522.00
8.2.280.0140.00416.54
8.2.270.0110.00716.43
8.2.260.0000.00818.83
8.2.250.0040.00416.40
8.2.240.0150.00418.88
8.2.230.0000.00822.58
8.2.220.0090.00037.54
8.2.210.0070.01026.77
8.2.200.0030.00616.50
8.2.190.0090.00616.58
8.2.180.0100.01025.92
8.2.170.0110.00418.91
8.2.160.0030.01022.96
8.2.150.0070.00025.66
8.2.140.0080.00024.66
8.2.130.0000.00826.16
8.2.120.0110.00421.05
8.2.110.0040.00422.25
8.2.100.0060.00619.38
8.2.90.0000.00918.96
8.2.80.0030.00519.51
8.2.70.0030.00617.63
8.2.60.0030.00517.80
8.2.50.0080.00018.07
8.2.40.0040.00417.86
8.2.30.0080.00017.92
8.2.20.0030.00320.36
8.2.10.0050.00217.92
8.2.00.0070.00319.11
8.1.330.0070.01116.35
8.1.320.0120.00717.86
8.1.310.0040.00416.72
8.1.300.0090.00018.35
8.1.290.0040.00730.84
8.1.280.0100.01025.92
8.1.270.0060.00323.99
8.1.260.0030.00526.35
8.1.250.0030.00528.09
8.1.240.0040.00423.68
8.1.230.0070.00319.02
8.1.220.0040.00417.74
8.1.210.0030.00518.77
8.1.200.0060.00317.23
8.1.190.0000.00717.29
8.1.180.0060.00318.10
8.1.170.0050.00318.44
8.1.160.0040.00421.93
8.1.150.0000.00718.54
8.1.140.0040.00417.29
8.1.130.0100.00018.62
8.1.120.0040.00417.34
8.1.110.0060.00317.21
8.1.100.0070.00017.19
8.1.90.0070.00017.23
8.1.80.0000.00917.34
8.1.70.0100.00517.16
8.1.60.0120.00617.41
8.1.50.0130.00517.34
8.1.40.0130.00417.41
8.1.30.0130.00417.36
8.1.20.0170.00017.31
8.1.10.0110.00617.43
8.1.00.0110.00717.26
8.0.300.0000.00718.77
8.0.290.0040.00417.05
8.0.280.0030.00318.20
8.0.270.0000.00816.78
8.0.260.0000.00618.31
8.0.250.0030.00316.90
8.0.240.0040.00416.84
8.0.230.0030.00316.78
8.0.220.0020.00516.80
8.0.210.0110.00316.80
8.0.200.0120.00316.81
8.0.190.0120.00316.82
8.0.180.0110.00316.84
8.0.170.0150.00016.69
8.0.160.0110.00416.75
8.0.150.0060.00916.67
8.0.140.0050.01016.64
8.0.130.0130.00316.68
8.0.120.0160.00016.79
8.0.110.0080.00616.77
8.0.100.0120.00316.77
8.0.90.0110.00316.68
8.0.80.0100.00516.74
8.0.70.0130.00316.71
8.0.60.0030.00516.70
8.0.50.0050.00716.68
8.0.30.0070.00716.75
8.0.20.0060.01016.89
8.0.10.0090.00616.89
7.4.330.0000.00415.55
7.4.320.0030.00316.50
7.4.300.0070.01116.39
7.4.290.0040.01316.38
7.4.280.0130.00016.49
7.4.270.0050.01016.21
7.4.260.0070.00516.31
7.4.250.0080.00416.18
7.4.240.0120.00416.16
7.4.230.0080.00816.32
7.4.220.0030.00816.29
7.4.210.0120.00316.36
7.4.200.0070.00716.29
7.4.190.0140.00016.36
7.4.180.0150.00016.38
7.4.160.0120.00216.42
7.4.150.0110.00416.32
7.4.140.0130.00016.20
7.4.130.0140.00016.13
7.4.120.0110.00316.08
7.4.110.0100.00316.21
7.4.100.0090.00316.47
7.4.90.0140.00016.36
7.4.80.0120.00016.25
7.4.70.0110.00416.23
7.4.60.0100.00316.14
7.4.50.0120.00016.11
7.4.40.0090.00316.30
7.4.30.0090.00516.29
7.4.20.0130.00016.22
7.4.10.0070.00716.20
7.4.00.0040.00816.30

preferences:
33 ms | 403 KiB | 5 Q