3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = [NAN]; var_dump($a === $a); var_dump([NAN] === [NAN]); $a = [NAN]; $b = [NAN]; 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.4.20.0070.01418.80
8.4.10.0040.00817.68
8.3.150.0130.00717.05
8.3.140.0080.00016.49
8.3.130.0040.00418.27
8.3.120.0120.00618.96
8.3.110.0040.00420.94
8.3.100.0050.00318.47
8.3.90.0000.00826.77
8.3.80.0060.00319.36
8.3.70.0110.01116.63
8.3.60.0060.01216.63
8.3.50.0120.00621.92
8.3.40.0120.00318.63
8.3.30.0150.00018.65
8.3.20.0030.00620.01
8.3.10.0080.00020.35
8.3.00.0040.00423.62
8.2.270.0120.00616.25
8.2.260.0070.00717.06
8.2.250.0080.00018.14
8.2.240.0090.00618.71
8.2.230.0000.01122.58
8.2.220.0030.00624.06
8.2.210.0000.00826.77
8.2.200.0080.00318.88
8.2.190.0120.00316.66
8.2.180.0100.01018.29
8.2.170.0040.01118.82
8.2.160.0030.01020.52
8.2.150.0090.00024.18
8.2.140.0080.00024.66
8.2.130.0000.00826.16
8.2.120.0070.00021.04
8.2.110.0060.00322.08
8.2.100.0000.01117.78
8.2.90.0030.00617.84
8.2.80.0000.00817.97
8.2.70.0090.00017.50
8.2.60.0030.00518.03
8.2.50.0040.00419.33
8.2.40.0040.00420.54
8.2.30.0070.00020.33
8.2.20.0060.00317.87
8.2.10.0080.00017.97
8.2.00.0030.00318.04
8.1.310.0140.00316.41
8.1.300.0100.01018.05
8.1.290.0090.00030.84
8.1.280.0120.00625.92
8.1.270.0040.00420.71
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0040.00422.34
8.1.230.0070.00420.97
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0030.00617.10
8.1.190.0000.00817.00
8.1.180.0030.00518.10
8.1.170.0080.00018.53
8.1.160.0040.00418.81
8.1.150.0040.00420.11
8.1.140.0080.00019.40
8.1.130.0040.00420.75
8.1.120.0050.00217.33
8.1.110.0040.00417.41
8.1.100.0040.00417.44
8.1.90.0040.00417.37
8.1.80.0000.00717.43
8.1.70.0030.00317.40
8.1.60.0060.00317.47
8.1.50.0000.00717.47
8.1.40.0040.00417.42
8.1.30.0040.00417.66
8.1.20.0000.00717.47
8.1.10.0000.00817.41
8.1.00.0000.00817.32
8.0.300.0040.00419.97
8.0.290.0000.00716.63
8.0.280.0080.00018.37
8.0.270.0030.00516.81
8.0.260.0030.00317.18
8.0.250.0070.00016.93
8.0.240.0000.00816.88
8.0.230.0000.00816.87
8.0.220.0070.00016.79
8.0.210.0040.00716.82
8.0.200.0000.00716.83
8.0.190.0000.00816.90
8.0.180.0080.00016.80
8.0.170.0040.00416.89
8.0.160.0040.00416.79
8.0.150.0000.00716.73
8.0.140.0000.00716.74
8.0.130.0030.00313.20
8.0.120.0070.00016.70
8.0.110.0000.00716.68
8.0.100.0040.00416.64
8.0.90.0050.00216.70
8.0.80.0090.00916.85
8.0.70.0040.00416.66
8.0.60.0000.00716.77
8.0.50.0070.00016.70
8.0.30.0070.01016.86
8.0.20.0090.01117.40
8.0.10.0000.00716.93
8.0.00.0130.00616.66
7.4.330.0000.00615.55
7.4.320.0060.00016.58
7.4.300.0060.00016.48
7.4.290.0000.00716.59
7.4.280.0000.00716.53
7.4.270.0070.00016.58
7.4.260.0040.00416.34
7.4.250.0030.00316.53
7.4.240.0050.00216.57
7.4.230.0030.00316.34
7.4.220.0040.00316.61
7.4.210.0080.01016.45
7.4.200.0020.00516.56
7.4.160.0080.01516.47
7.4.150.0030.01517.40
7.4.140.0100.00717.86
7.4.130.0140.00516.46
7.4.120.0160.00816.34
7.4.110.0060.00916.44
7.4.100.0040.01416.44
7.4.90.0100.00716.39
7.4.80.0130.00319.39
7.4.70.0130.00316.37
7.4.60.0060.01016.40
7.4.50.0000.01116.57
7.4.40.0090.00916.57
7.4.30.0110.00516.62
7.4.00.0030.01214.74
7.3.330.0000.00612.91
7.3.320.0000.00513.10
7.3.310.0070.00016.06
7.3.300.0030.00316.09
7.3.290.0030.01016.18
7.3.280.0030.01116.15
7.3.270.0170.00017.40
7.3.260.0150.00416.15
7.3.250.0100.00716.40
7.3.240.0050.01116.43
7.3.230.0160.00816.39
7.3.210.0070.01016.42
7.3.200.0100.00716.53
7.3.190.0060.01016.17
7.3.180.0040.01216.20
7.3.170.0130.00816.41
7.3.160.0160.00016.47
7.3.00.0100.00516.57
7.2.330.0120.00616.63
7.2.320.0120.00616.39
7.2.310.0110.00716.58
7.2.300.0100.00716.41
7.2.290.0110.01116.58
7.2.130.0060.00616.83
7.2.120.0050.00616.81
7.2.110.0050.00816.88
7.2.100.0070.00916.68
7.2.90.0060.00816.90
7.2.80.0020.01316.71
7.2.70.0060.00716.95
7.2.60.0060.00916.67
7.2.50.0070.00616.79
7.2.40.0030.01116.82
7.2.30.0060.00816.64
7.2.20.0040.00716.86
7.2.10.0030.01016.84
7.2.00.0070.00817.60
7.1.250.0060.00615.79
7.1.240.0070.00515.80
7.1.230.0080.00615.68
7.1.220.0070.00515.74
7.1.210.0110.00315.58
7.1.200.0030.00815.52
7.1.190.0020.01215.49
7.1.180.0080.00415.73
7.1.170.0050.00915.73
7.1.160.0060.00615.50
7.1.150.0090.00615.72
7.1.140.0030.00915.59
7.1.130.0060.00515.68
7.1.120.0070.00515.77
7.1.110.0060.00615.72
7.1.100.0050.00615.69
7.1.90.0050.01015.88
7.1.80.0050.00815.56
7.1.70.0080.00816.18
7.1.60.0110.00616.13
7.1.50.0140.00616.06
7.1.40.0040.01115.92
7.1.30.0070.00815.77
7.1.20.0040.01215.98
7.1.10.0050.00815.92
7.1.00.0060.00716.03
7.0.330.0060.00615.26
7.0.320.0050.00815.18
7.0.310.0100.00515.15
7.0.300.0080.00515.31
7.0.290.0050.00715.08
7.0.280.0020.01015.34
7.0.270.0060.00615.28
7.0.260.0020.01015.28
7.0.250.0080.00515.25
7.0.240.0050.00815.25
7.0.230.0060.00515.31
7.0.220.0070.00515.35
7.0.210.0030.01115.48
7.0.200.0120.00415.72
7.0.190.0060.00715.71
7.0.180.0060.01015.60
7.0.170.0040.00915.62
7.0.160.0090.00615.57
7.0.150.0080.00515.56
7.0.140.0070.00715.58
7.0.130.0060.00515.59
7.0.120.0110.00515.62
7.0.110.0060.00615.60
7.0.100.0080.00615.33
7.0.90.0030.01015.47
7.0.80.0090.00515.63
7.0.70.0060.00715.57
7.0.60.0080.00615.66
7.0.50.0050.01015.48
7.0.40.0030.00813.77
7.0.30.0040.00813.60
7.0.20.0010.01013.78
7.0.10.0040.00913.82
7.0.00.0020.00813.83
5.6.380.0050.00914.13
5.6.370.0070.00714.21
5.6.360.0040.00614.14
5.6.350.0050.00614.40
5.6.340.0050.00714.22
5.6.330.0090.00414.05
5.6.320.0070.00414.21
5.6.310.0050.00514.25
5.6.300.0060.01816.38
5.6.290.0020.02116.38
5.6.280.0030.02116.28
5.6.270.0110.01516.26
5.6.260.0070.02016.50
5.6.250.0100.01416.40
5.6.240.0070.01916.51
5.6.230.0080.01616.47
5.6.220.0090.01916.33
5.6.210.0050.02516.30
5.6.200.0050.01916.41
5.6.190.0070.02216.45
5.6.180.0060.02116.50
5.6.170.0030.03416.33
5.6.160.0060.01716.36
5.6.150.0070.03116.48
5.6.140.0030.01816.43
5.6.130.0050.02116.48
5.6.120.0080.03016.46
5.6.110.0030.01916.26
5.6.100.0050.01716.29
5.6.90.0060.03116.52
5.6.80.0060.01716.33
5.6.70.0020.02116.20
5.6.60.0050.01716.06
5.6.50.0060.01816.26
5.6.40.0030.01816.17
5.6.30.0070.02216.05
5.6.20.0030.02116.07
5.6.10.0040.01816.20
5.6.00.0080.01516.06
5.5.380.0030.01613.13
5.5.370.0050.01713.13
5.5.360.0040.01913.21
5.5.350.0070.01713.22
5.5.340.0060.01613.24
5.5.330.0050.01913.28
5.5.320.0030.02013.28
5.5.310.0010.01913.32
5.5.300.0040.01913.49
5.5.290.0060.01713.29
5.5.280.0000.02113.29
5.5.270.0040.01713.33
5.5.260.0030.01913.31
5.5.250.0040.01713.28
5.5.240.0030.01813.12
5.5.230.0100.01513.01
5.5.220.0020.01913.12
5.5.210.0060.01413.06
5.5.200.0030.02913.04
5.5.190.0050.01813.04
5.5.180.0050.01913.04
5.5.170.0060.00410.79
5.5.160.0040.01613.13
5.5.150.0040.01813.08
5.5.140.0040.02112.93
5.5.130.0030.01812.98
5.5.120.0070.01813.05
5.5.110.0040.01513.10
5.5.100.0080.01212.85
5.5.90.0020.02512.95
5.5.80.0060.01512.94
5.5.70.0060.01413.04
5.5.60.0060.01612.97
5.5.50.0010.02112.93
5.5.40.0040.01413.06
5.5.30.0020.02612.81
5.5.20.0020.02113.09
5.5.10.0040.02312.90
5.5.00.0060.01513.05
5.4.450.0050.01813.66
5.4.440.0040.01613.73
5.4.430.0080.01613.83
5.4.420.0070.02113.70
5.4.410.0020.02213.66
5.4.400.0080.01313.54
5.4.390.0010.01913.60
5.4.380.0050.01813.67
5.4.370.0030.01613.63
5.4.360.0060.01513.59
5.4.350.0050.02013.68
5.4.340.0020.01813.51
5.4.330.0040.00710.75
5.4.320.0010.01813.74
5.4.310.0020.01813.60
5.4.300.0030.01513.62
5.4.290.0020.01713.53
5.4.280.0040.01713.65
5.4.270.0030.01513.63
5.4.260.0040.01613.56
5.4.250.0050.01413.62
5.4.240.0030.02313.58
5.4.230.0060.01513.71
5.4.220.0030.01813.51
5.4.210.0020.02413.48
5.4.200.0020.02213.72
5.4.190.0040.01613.57
5.4.180.0040.01913.52
5.4.170.0040.01713.54
5.4.160.0010.02013.58
5.4.150.0050.02313.47
5.4.140.0060.02112.68
5.4.130.0020.01712.77
5.4.120.0030.01712.67
5.4.110.0040.01712.88
5.4.100.0070.01912.78
5.4.90.0040.01412.75
5.4.80.0030.01612.86
5.4.70.0060.02212.87
5.4.60.0020.01712.84
5.4.50.0010.01812.80
5.4.40.0040.01612.65
5.4.30.0030.02112.80
5.4.20.0050.01912.84
5.4.10.0020.02012.78
5.4.00.0000.01712.51
5.3.290.0020.01912.00
5.3.280.0090.01112.00
5.3.270.0020.03111.95
5.3.260.0020.01811.97
5.3.250.0040.02911.97
5.3.240.0030.02311.94
5.3.230.0020.01811.98
5.3.220.0030.01611.90
5.3.210.0020.01911.98
5.3.200.0030.01711.90
5.3.190.0050.01511.96
5.3.180.0050.01512.02
5.3.170.0060.02812.02
5.3.160.0030.01612.01
5.3.150.0060.01212.02
5.3.140.0050.02511.93
5.3.130.0030.01912.00
5.3.120.0030.01912.02
5.3.110.0050.01512.00
5.3.100.0050.01511.98
5.3.90.0040.01411.93
5.3.80.0060.01411.96
5.3.70.0030.02411.93
5.3.60.0020.01911.90
5.3.50.0040.01911.89
5.3.40.0050.01512.00
5.3.30.0030.01911.95
5.3.20.0040.01411.99
5.3.10.0060.01411.82
5.3.00.0020.01711.84
5.2.170.0040.01111.71
5.2.160.0040.01311.71
5.2.150.0040.01411.71
5.2.140.0040.01211.71
5.2.130.0010.01511.71
5.2.120.0050.01111.71
5.2.110.0050.01211.71
5.2.100.0050.01211.71
5.2.90.0030.01211.71
5.2.80.0010.01411.71
5.2.70.0030.01211.71
5.2.60.0030.01411.71
5.2.50.0000.01711.71
5.2.40.0040.01211.71
5.2.30.0040.01211.71
5.2.20.0030.01011.71
5.2.10.0020.01211.71
5.2.00.0060.02211.71
5.1.60.0030.02311.71
5.1.50.0020.01111.71
5.1.40.0020.01111.71
5.1.30.0010.01511.71
5.1.20.0030.01111.71
5.1.10.0020.01011.71
5.1.00.0030.02111.71
5.0.50.0030.00911.71
5.0.40.0020.01011.71
5.0.30.0020.01311.71
5.0.20.0030.00911.71
5.0.10.0030.00811.71
5.0.00.0030.01211.71
4.4.90.0010.00811.71
4.4.80.0010.01111.71
4.4.70.0020.00711.71
4.4.60.0010.00911.71
4.4.50.0040.00511.71
4.4.40.0030.01511.71
4.4.30.0000.00911.71
4.4.20.0010.00811.71
4.4.10.0020.01311.71
4.4.00.0020.01011.71
4.3.110.0010.00911.71
4.3.100.0020.00711.71
4.3.90.0000.00811.71
4.3.80.0030.00911.71
4.3.70.0020.00711.71
4.3.60.0010.00811.71
4.3.50.0020.00711.71
4.3.40.0010.01111.71
4.3.30.0050.00411.71
4.3.20.0000.01311.71
4.3.10.0020.01411.71
4.3.00.0010.00711.71

preferences:
32.58 ms | 403 KiB | 5 Q