3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "'' == null ? ", ('' == null) ? 'yes' : 'no', "\n"; echo "false == null ? ", (false == null) ? 'yes' : 'no', "\n"; echo "null == null ? ", (null == null) ? 'yes' : 'no', "\n";

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.0070.01416.63
8.3.50.0130.00522.05
8.3.40.0130.00618.79
8.3.30.0120.00618.92
8.3.20.0160.00320.25
8.3.10.0040.01421.91
8.3.00.0140.00319.25
8.2.180.0110.01118.54
8.2.170.0090.00922.96
8.2.160.0070.01120.27
8.2.150.0190.00024.18
8.2.140.0120.00624.66
8.2.130.0040.01426.16
8.2.120.0040.00422.27
8.2.110.0090.00022.28
8.2.100.0070.00417.78
8.2.90.0040.00419.05
8.2.80.0000.00818.04
8.2.70.0060.00317.63
8.2.60.0000.00817.88
8.2.50.0080.00018.07
8.2.40.0080.00018.03
8.2.30.0020.00518.05
8.2.20.0000.00817.68
8.2.10.0050.00317.91
8.2.00.0060.00317.54
8.1.280.0120.00925.92
8.1.270.0030.01723.91
8.1.260.0150.00426.35
8.1.250.0080.01128.09
8.1.240.0030.00623.94
8.1.230.0120.00019.18
8.1.220.0030.00517.74
8.1.210.0000.00818.77
8.1.200.0030.00616.88
8.1.190.0050.00317.27
8.1.180.0000.00818.10
8.1.170.0050.00518.27
8.1.160.0040.00421.82
8.1.150.0040.00418.61
8.1.140.0040.00417.38
8.1.130.0000.00717.63
8.1.120.0000.00717.34
8.1.110.0000.00717.25
8.1.100.0000.00917.39
8.1.90.0070.00017.23
8.1.80.0040.00417.29
8.1.70.0000.00717.24
8.1.60.0070.00017.46
8.1.50.0050.00217.38
8.1.40.0050.00617.29
8.1.30.0030.00517.48
8.1.20.0070.00017.51
8.1.10.0000.00717.35
8.1.00.0000.00717.34
8.0.300.0000.00718.77
8.0.290.0090.00017.05
8.0.280.0030.00518.29
8.0.270.0070.00017.17
8.0.260.0060.00016.81
8.0.250.0040.00416.99
8.0.240.0040.00416.92
8.0.230.0030.00316.91
8.0.220.0000.00716.68
8.0.210.0000.00716.86
8.0.200.0030.00316.80
8.0.190.0080.00016.77
8.0.180.0070.00416.79
8.0.170.0000.00716.75
8.0.160.0050.00216.77
8.0.150.0050.00316.64
8.0.140.0040.00316.70
8.0.130.0030.00313.23
8.0.120.0000.00816.82
8.0.110.0070.00016.83
8.0.100.0000.00716.64
8.0.90.0030.00316.71
8.0.80.0060.00916.71
8.0.70.0000.00816.84
8.0.60.0050.00316.87
8.0.50.0040.00416.76
8.0.30.0090.01016.99
8.0.20.0100.01117.40
8.0.10.0040.00416.90
8.0.00.0110.00616.68
7.4.330.0000.00515.00
7.4.320.0000.00616.39
7.4.300.0030.00316.38
7.4.290.0070.00316.44
7.4.280.0000.00716.31
7.4.270.0030.00316.38
7.4.260.0030.00316.38
7.4.250.0030.00316.39
7.4.240.0030.00416.32
7.4.230.0030.00316.11
7.4.220.0180.00016.26
7.4.210.0080.00716.42
7.4.200.0000.00716.27
7.4.190.0030.00416.59
7.4.160.0110.00516.43
7.4.150.0120.00617.40
7.4.140.0150.02517.86
7.4.130.0090.00816.34
7.4.120.0080.01016.35
7.4.110.0100.00616.41
7.4.100.0130.00316.46
7.4.90.0050.01116.55
7.4.80.0100.00619.39
7.4.70.0100.00716.46
7.4.60.0030.01316.50
7.4.50.0080.00016.37
7.4.40.0070.01122.77
7.4.30.0040.01116.21
7.4.00.0100.00814.64
7.3.330.0060.00013.03
7.3.320.0050.00013.04
7.3.310.0000.00716.22
7.3.300.0030.00316.18
7.3.290.0060.00916.08
7.3.280.0090.00916.18
7.3.270.0170.00717.40
7.3.260.0080.00916.23
7.3.250.0060.01516.33
7.3.240.0100.00716.38
7.3.230.0090.01216.39
7.3.210.0100.00716.32
7.3.200.0110.00819.39
7.3.190.0120.00616.32
7.3.180.0090.00616.17
7.3.170.0030.01216.37
7.3.160.0100.00716.28
7.3.120.0050.01114.76
7.3.110.0060.01014.72
7.3.100.0040.01114.90
7.3.90.0090.00314.91
7.3.80.0130.00314.69
7.3.70.0080.00414.65
7.3.60.0060.00914.84
7.3.50.0060.00914.86
7.3.40.0000.01514.54
7.3.30.0030.01314.73
7.3.20.0070.00716.49
7.3.10.0060.00616.59
7.3.00.0030.01316.54
7.2.330.0110.00716.63
7.2.320.0080.00916.33
7.2.310.0030.02016.50
7.2.300.0080.00816.43
7.2.290.0110.00616.31
7.2.250.0100.01015.14
7.2.240.0030.01314.71
7.2.230.0070.01114.63
7.2.220.0040.01114.89
7.2.210.0120.00315.03
7.2.200.0090.00614.88
7.2.190.0060.01014.93
7.2.180.0070.00414.91
7.2.170.0060.01015.04
7.1.330.0060.00715.63
7.1.320.0120.00315.74
7.1.310.0030.00915.76
7.1.300.0000.01015.34
7.1.290.0060.00915.67
7.1.280.0140.00015.27
7.1.270.0040.01015.64
7.1.260.0110.00015.41
7.1.70.0040.00416.67
7.1.60.0100.01319.33
7.1.50.0090.01216.91
7.1.00.0130.06722.30
7.0.200.0070.00016.76
7.0.140.0000.07322.05
7.0.60.0030.04019.95
7.0.50.0030.08317.80
7.0.40.0000.05020.02
7.0.30.0230.04020.12
7.0.20.0270.05319.95
7.0.10.0000.05320.29
7.0.00.0200.07720.33
5.6.280.0000.07720.77
5.6.210.0300.06320.52
5.6.200.0130.07018.09
5.6.190.0100.07320.48
5.6.180.0500.06720.77
5.6.170.0330.07720.51
5.6.160.0070.08720.59
5.6.150.0100.05018.14
5.6.140.0100.07318.16
5.6.130.0100.08018.23
5.6.120.0100.08321.14
5.6.110.0000.04320.98
5.6.100.0000.07321.00
5.6.90.0100.05321.12
5.6.80.0130.05720.27
5.5.350.0300.05320.32
5.5.340.0070.06317.86
5.5.330.0070.04720.25
5.5.320.0400.07320.41
5.5.310.0170.07320.32
5.5.300.0100.07717.96
5.5.290.0170.04717.98
5.5.280.0070.08720.73
5.5.270.0200.04320.77
5.5.260.0000.04720.61
5.5.250.0100.03320.54
5.5.240.0100.07720.26
5.4.450.0770.06019.59
5.4.440.0700.05719.49
5.4.430.0670.06319.45
5.4.420.0770.06019.63
5.4.410.0630.06719.32
5.4.400.0730.05319.32
5.4.390.1030.06719.26
5.4.380.0230.06318.56
5.4.370.0070.05018.46
5.4.360.0130.04718.67
5.4.350.0120.03211.97
5.4.340.0060.03611.97
5.4.320.0060.03512.45
5.4.310.0050.03812.45
5.4.300.0080.04612.45
5.4.290.0030.04912.45
5.4.280.0060.03412.35
5.4.270.0070.04412.35
5.4.260.0070.03612.34
5.4.250.0090.04912.34
5.4.240.0050.04312.34
5.4.230.0060.04012.34
5.4.220.0080.04012.34
5.4.210.0030.04012.34
5.4.200.0050.03812.34
5.4.190.0230.07512.34
5.4.180.0140.04912.33
5.4.170.0230.04912.35
5.4.160.0410.08612.34
5.4.150.0130.05412.33
5.4.140.0410.08212.02
5.4.130.0210.04912.01
5.4.120.0220.05111.96
5.4.110.0180.04311.96
5.4.100.0200.04111.96
5.4.90.0280.13011.96
5.4.80.0180.04811.96
5.4.70.0360.09211.96
5.4.60.0380.09311.95
5.4.50.0490.10911.96
5.4.40.0210.04211.95
5.4.30.0330.08911.95
5.4.20.0190.03811.95
5.4.10.0150.04411.94
5.4.00.0220.05011.43
5.3.290.0050.04012.80
5.3.280.0070.04412.71
5.3.270.0180.04512.73
5.3.260.0220.04912.71
5.3.250.0320.09212.72
5.3.240.0130.05012.71
5.3.230.0190.05412.70
5.3.220.0130.05612.68
5.3.210.0390.09012.68
5.3.200.0180.04612.68
5.3.190.0190.04612.68
5.3.180.0220.03812.68
5.3.170.0270.06312.67
5.3.160.0210.04012.67
5.3.150.0170.04512.68
5.3.140.0190.04512.66
5.3.130.0250.07012.66
5.3.120.0150.05112.66
5.3.110.0180.04612.66
5.3.100.0210.04112.12
5.3.90.0170.05012.08
5.3.80.0190.04212.07
5.3.70.0180.05112.07
5.3.60.0150.05012.07
5.3.50.0210.04012.00
5.3.40.0280.04412.00
5.3.30.0380.09311.95
5.3.20.0170.04511.73
5.3.10.0190.04111.69
5.3.00.0180.04511.68
5.2.170.0180.0349.18
5.2.160.0180.0369.18
5.2.150.0130.0359.18
5.2.140.0110.0369.18
5.2.130.0330.0809.14
5.2.120.0150.0349.13
5.2.110.0100.0389.14
5.2.100.0200.0269.14
5.2.90.0130.0359.14
5.2.80.0140.0409.13
5.2.70.0130.0409.13
5.2.60.0110.0389.09
5.2.50.0320.0809.06
5.2.40.0160.0369.04
5.2.30.0210.0579.01
5.2.20.0150.0349.00
5.2.10.0160.0328.92
5.2.00.0130.0348.77
5.1.60.0130.0288.07
5.1.50.0140.0288.07
5.1.40.0270.0468.05
5.1.30.0150.0298.39
5.1.20.0140.0288.43
5.1.10.0140.0288.14
5.1.00.0140.0298.14
5.0.50.0400.0576.62
5.0.40.0110.0316.48
5.0.30.0110.0356.29
5.0.20.0250.0666.27
5.0.10.0090.0226.24
5.0.00.0070.0376.23
4.4.90.0090.0164.78
4.4.80.0060.0184.75
4.4.70.0070.0184.75
4.4.60.0070.0194.76
4.4.50.0060.0194.77
4.4.40.0120.0274.71
4.4.30.0090.0184.76
4.4.20.0110.0154.85
4.4.10.0070.0184.85
4.4.00.0060.0324.76
4.3.110.0090.0184.67
4.3.100.0090.0164.66
4.3.90.0050.0204.64
4.3.80.0080.0284.59
4.3.70.0370.0494.63
4.3.60.0080.0174.63
4.3.50.0050.0194.63
4.3.40.0070.0264.54
4.3.30.0040.0193.29
4.3.20.0040.0213.27
4.3.10.0090.0193.23
4.3.00.0170.0206.84

preferences:
39.8 ms | 401 KiB | 5 Q