3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(INF, NAN); var_dump((float) INF, (float) NAN); var_dump((string) INF, (string) NAN);

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.0100.00718.06
8.5.20.0110.00520.26
8.5.10.0150.00516.81
8.5.00.0090.01219.95
8.4.180.0130.01019.69
8.4.170.0110.01124.00
8.4.160.0120.01021.71
8.4.150.0010.00214.05
8.4.140.0100.01017.39
8.4.130.0090.00919.95
8.4.120.0070.00924.16
8.4.110.0090.00718.67
8.4.100.0170.00417.66
8.4.90.0280.00917.41
8.4.80.0240.00717.66
8.4.70.0210.00717.44
8.4.60.0220.00417.66
8.4.50.0150.00517.48
8.4.40.0170.00517.58
8.4.30.0190.00417.32
8.4.20.0200.00417.56
8.4.10.0200.00617.79
8.3.300.0120.00820.80
8.3.290.0100.01020.80
8.3.280.0140.01118.16
8.3.270.0060.00216.66
8.3.260.0060.00316.78
8.3.250.0130.00618.90
8.3.240.0150.00616.76
8.3.230.0060.00616.62
8.3.220.0180.00316.50
8.3.210.0200.00316.61
8.3.200.0170.00416.58
8.3.190.0170.00416.62
8.3.180.0180.00616.49
8.3.170.0220.00416.55
8.3.160.0180.00516.54
8.3.150.0180.00516.52
8.3.140.0180.00716.84
8.3.130.0140.00516.37
8.3.120.0130.00816.53
8.3.110.0170.00216.26
8.3.100.0210.00416.65
8.3.90.0160.00516.37
8.3.80.0150.00916.36
8.3.70.0210.00116.79
8.3.60.0190.00416.58
8.3.50.0170.00416.55
8.3.40.0160.00617.48
8.3.30.0120.00517.48
8.3.20.0110.00617.44
8.3.10.0120.00717.10
8.3.00.0060.00517.52
8.2.300.0060.00420.44
8.2.290.0130.00416.03
8.2.280.0140.00516.38
8.2.270.0150.00316.48
8.2.260.0130.00516.05
8.2.250.0180.00316.54
8.2.240.0130.00416.24
8.2.230.0140.00516.35
8.2.220.0130.00716.33
8.2.210.0140.00516.23
8.2.200.0140.00416.39
8.2.190.0160.00216.38
8.2.180.0170.00216.62
8.2.170.0160.00317.64
8.2.160.0140.00617.45
8.2.150.0130.00417.40
8.2.140.0150.00417.32
8.2.130.0130.00717.51
8.2.120.0150.00717.29
8.2.110.0140.00617.41
8.2.100.0160.00317.34
8.2.90.0160.00217.39
8.2.80.0140.00517.28
8.2.70.0170.00417.25
8.2.60.0150.00417.41
8.2.50.0160.00217.23
8.2.40.0140.00417.74
8.2.30.0130.00517.10
8.2.20.0170.00217.17
8.2.10.0180.00517.14
8.2.00.0140.00417.16
8.1.340.0120.00821.69

preferences:
40.06 ms | 403 KiB | 5 Q