3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(min(NAN, 0)); var_dump(min(0, 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.3.130.0120.00318.16
8.3.120.0040.00418.74
8.3.110.0000.00820.94
8.3.100.0030.00524.06
8.3.90.0140.00726.77
8.3.80.0000.00917.97
8.3.70.0130.00316.50
8.3.60.0090.00618.04
8.3.50.0130.00818.07
8.3.40.0130.00618.41
8.3.30.0130.00418.39
8.3.20.0040.00421.82
8.3.10.0040.00420.26
8.3.00.0040.00419.25
8.2.250.0040.00416.74
8.2.240.0060.00316.80
8.2.230.0050.00322.58
8.2.220.0080.00037.54
8.2.210.0000.00726.77
8.2.200.0030.00618.13
8.2.190.0160.00016.70
8.2.180.0120.00918.41
8.2.170.0110.00422.96
8.2.160.0100.00319.21
8.2.150.0000.00724.18
8.2.140.0040.00424.66
8.2.130.0040.00420.51
8.2.120.0070.00026.35
8.2.110.0060.00319.27
8.2.100.0040.00817.60
8.2.90.0030.00517.63
8.2.80.0060.00317.97
8.2.70.0060.00317.91
8.2.60.0040.00417.91
8.2.50.0000.00818.93
8.2.40.0070.00019.31
8.2.30.0040.00419.05
8.2.20.0040.00417.79
8.2.10.0000.00819.20
8.2.00.0050.00217.84
8.1.300.0090.00016.12
8.1.290.0030.00630.84
8.1.280.0040.01125.92
8.1.270.0060.00320.20
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0040.00817.23
8.1.230.0000.01117.64
8.1.220.0060.00317.74
8.1.210.0030.00518.77
8.1.200.0100.00017.23
8.1.190.0080.00016.88
8.1.180.0030.00618.10
8.1.170.0040.00418.64
8.1.160.0020.00518.66
8.1.150.0000.00718.71
8.1.140.0040.00420.16
8.1.130.0030.00320.12
8.1.120.0000.00717.36
8.1.110.0000.00817.32
8.1.100.0100.00017.34
8.1.90.0040.00417.23
8.1.80.0030.00517.25
8.1.70.0030.00317.35
8.1.60.0050.00317.48
8.1.50.0050.00317.36
8.1.40.0050.00517.33
8.1.30.0000.00817.54
8.1.20.0080.00017.38
8.1.10.0070.00017.41
8.1.00.0050.00317.30
8.0.300.0040.00418.78
8.0.290.0040.00416.58
8.0.280.0040.00418.31
8.0.270.0070.00017.02
8.0.260.0030.00318.23
8.0.250.0030.00316.79
8.0.240.0030.00316.83
8.0.230.0000.00816.86
8.0.220.0040.00316.79
8.0.210.0070.00016.69
8.0.200.0000.00716.68
8.0.190.0000.00816.76
8.0.180.0030.00616.66
8.0.170.0030.00616.80
8.0.160.0040.00416.75
8.0.150.0000.00816.64
8.0.140.0070.00016.64
8.0.130.0030.00313.11
8.0.120.0050.00316.73
8.0.110.0040.00416.74
8.0.100.0000.00716.78
8.0.90.0070.00016.66
8.0.80.0060.00916.74
8.0.70.0000.00716.57
8.0.60.0000.00716.75
8.0.50.0000.00716.82
8.0.30.0040.01416.85
8.0.20.0080.01116.93
8.0.10.0040.00416.75
8.0.00.0080.01116.50
7.4.330.0030.00315.55
7.4.320.0040.00416.43
7.4.300.0000.00716.26
7.4.290.0000.00716.39
7.4.280.0080.00016.36
7.4.270.0030.00316.38
7.4.260.0030.00316.34
7.4.250.0000.00716.41
7.4.240.0030.00316.39
7.4.230.0030.00316.44
7.4.220.0090.00016.46
7.4.210.0110.00516.40
7.4.200.0080.00016.25
7.4.160.0060.01116.39
7.4.140.0150.00717.86
7.4.130.0080.00816.41
7.4.120.0120.00616.32
7.4.110.0070.01116.29
7.4.100.0150.00916.33
7.4.90.0100.01016.19
7.4.80.0100.00919.39
7.4.70.0080.01216.39
7.4.60.0070.01016.26
7.4.50.0090.00616.25
7.4.40.0060.00916.29
7.4.00.0080.00814.68
7.3.330.0000.00512.96
7.3.320.0000.00612.93
7.3.310.0030.00516.11
7.3.300.0030.00316.08
7.3.290.0000.00716.14
7.3.280.0110.00716.12
7.3.260.0080.01016.17
7.3.240.0120.00716.21
7.3.230.0000.01816.06
7.3.210.0120.00616.35
7.3.200.0110.00716.20
7.3.190.0080.00816.20
7.3.180.0160.01016.07
7.3.170.0110.00816.24
7.3.160.0170.00016.47
7.3.120.0070.01114.93
7.3.110.0100.00714.65
7.3.100.0100.00714.64
7.3.90.0080.00814.71
7.3.80.0040.00414.55
7.3.70.0060.00314.63
7.3.60.0070.00714.55
7.3.50.0030.01014.78
7.3.40.0000.01314.72
7.3.30.0040.00814.46
7.3.20.0570.00815.59
7.3.10.0410.00715.61
7.3.00.0500.01015.59
7.2.330.0110.00616.54
7.2.320.0120.00916.20
7.2.310.0100.00616.31
7.2.300.0060.01616.45
7.2.290.0070.01016.20
7.2.250.0040.01514.76
7.2.240.0100.01014.97
7.2.230.0060.00914.90
7.2.220.0040.01114.80
7.2.210.0110.00314.94
7.2.200.0000.01414.54
7.2.190.0110.00014.82
7.2.180.0060.00814.80
7.2.170.0040.01114.80
7.2.150.0730.00714.57
7.2.140.0740.00714.79
7.2.130.0710.00314.64
7.2.120.1020.00014.93
7.2.110.1280.01314.77
7.2.100.1290.01014.77
7.2.90.1280.00714.54
7.2.80.1460.00714.81
7.2.70.1600.00714.97
7.2.60.1550.00714.78
7.2.50.1010.00314.55
7.2.40.0760.00614.82
7.2.30.0990.01314.79
7.2.20.0680.01314.76
7.2.10.0770.00314.65
7.2.00.0710.00614.84
7.1.330.0090.00615.77
7.1.320.0040.00815.77
7.1.310.0040.00415.76
7.1.300.0050.00515.56
7.1.290.0030.00915.44
7.1.280.0000.01415.65
7.1.270.0030.00915.69
7.1.260.0070.00315.64
7.1.250.1080.01013.74

preferences:
13.68 ms | 403 KiB | 5 Q