3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = ''; echo "\r\nTest with == \r\n"; if ($foo == null) { echo 'foo is null'; } else { echo 'foo is not null'; } echo "\r\n-------------------\r\n"; echo "\r\nTest with ===\r\n"; if ($foo === null) { echo 'foo is null'; } else { echo 'foo is not null'; }

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.00718.43
8.3.50.0090.01222.04
8.3.40.0070.00718.54
8.3.30.0070.00719.01
8.3.20.0070.00020.09
8.3.10.0050.00221.74
8.3.00.0080.00018.89
8.2.180.0100.01018.27
8.2.170.0080.01222.96
8.2.160.0110.00622.32
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00419.63
8.2.110.0060.00322.05
8.2.100.0070.00417.94
8.2.90.0080.00019.21
8.2.80.0030.00617.97
8.2.70.0040.00417.50
8.2.60.0040.00417.80
8.2.50.0000.00918.07
8.2.40.0060.00318.22
8.2.30.0060.00618.11
8.2.20.0040.00417.58
8.2.10.0080.00018.11
8.2.00.0050.00217.58
8.1.280.0100.01025.92
8.1.270.0050.00318.60
8.1.260.0040.00426.35
8.1.250.0060.00328.09
8.1.240.0060.00323.91
8.1.230.0110.00019.04
8.1.220.0000.00917.79
8.1.210.0080.00018.77
8.1.200.0030.01017.22
8.1.190.0030.00617.22
8.1.180.0040.00418.10
8.1.170.0040.00418.59
8.1.160.0000.00722.02
8.1.150.0030.00618.84
8.1.140.0070.00017.49
8.1.130.0030.00317.81
8.1.120.0030.00417.43
8.1.110.0000.00817.46
8.1.100.0040.00417.41
8.1.90.0050.00217.49
8.1.80.0000.00717.37
8.1.70.0000.00817.40
8.1.60.0060.00317.61
8.1.50.0030.00517.41
8.1.40.0000.00717.42
8.1.30.0050.00317.64
8.1.20.0000.00817.60
8.1.10.0000.00717.45
8.1.00.0080.00017.34
8.0.300.0070.00018.77
8.0.290.0090.00016.75
8.0.280.0030.00318.48
8.0.270.0000.00717.25
8.0.260.0000.00618.43
8.0.250.0000.00616.95
8.0.240.0060.00016.83
8.0.230.0030.00316.80
8.0.220.0030.00616.76
8.0.210.0030.00316.86
8.0.200.0000.00716.98
8.0.190.0040.00417.00
8.0.180.0000.00716.93
8.0.170.0000.00816.94
8.0.160.0000.00716.93
8.0.150.0040.00416.82
8.0.140.0000.00716.73
8.0.130.0060.00013.27
8.0.120.0040.00416.73
8.0.110.0070.00016.79
8.0.100.0000.00716.68
8.0.90.0070.00016.83
8.0.80.0060.00916.88
8.0.70.0030.00616.88
8.0.60.0030.00616.79
8.0.50.0000.00716.78
8.0.30.0090.01417.05
8.0.20.0100.01017.40
8.0.10.0000.00716.95
8.0.00.0120.00716.72
7.4.330.0030.00315.20
7.4.320.0000.00616.52
7.4.300.0030.00316.36
7.4.290.0040.00416.55
7.4.280.0040.00416.48
7.4.270.0030.00316.37
7.4.260.0000.00816.50
7.4.250.0000.00716.55
7.4.240.0020.00616.57
7.4.230.0020.00516.67
7.4.220.0070.01816.58
7.4.210.0040.01416.70
7.4.200.0070.00016.40
7.4.160.0110.00616.47
7.4.150.0090.01317.40
7.4.140.0120.00917.86
7.4.130.0080.01116.51
7.4.120.0050.01116.48
7.4.110.0150.00516.45
7.4.100.0040.01716.42
7.4.90.0180.00016.45
7.4.80.0100.00719.39
7.4.70.0140.00316.56
7.4.60.0120.00416.49
7.4.50.0020.00216.63
7.4.40.0170.00716.52
7.4.30.0080.01416.46
7.4.00.0050.01114.99
7.3.330.0080.00013.05
7.3.320.0050.00013.06
7.3.310.0030.00316.20
7.3.300.0060.00016.31
7.3.290.0050.00916.25
7.3.280.0090.00816.26
7.3.270.0150.00317.40
7.3.260.0060.01216.67
7.3.250.0150.00716.32
7.3.240.0060.01016.43
7.3.230.0040.01416.39
7.3.210.0120.00616.33
7.3.200.0060.01219.39
7.3.190.0110.01116.41
7.3.180.0130.00316.26
7.3.170.0090.00916.43
7.3.160.0160.00016.53
7.3.120.0000.01614.87
7.3.110.0040.01414.92
7.3.100.0030.00614.84
7.3.90.0060.00314.83
7.3.80.0140.00014.52
7.3.70.0030.01014.97
7.3.60.0030.01014.94
7.3.50.0000.01214.71
7.3.40.0000.00914.57
7.3.30.0110.00414.57
7.3.20.0040.00716.85
7.3.10.0040.01016.61
7.3.00.0080.00716.55
7.2.330.0030.01616.67
7.2.320.0030.01416.58
7.2.310.0100.00616.62
7.2.300.0040.01216.25
7.2.290.0120.00916.61
7.2.250.0070.01114.82
7.2.240.0170.00314.72
7.2.230.0120.00615.07
7.2.220.0120.00315.18
7.2.210.0060.00915.04
7.2.200.0070.01015.14
7.2.190.0060.00615.14
7.2.180.0120.00414.90
7.2.170.0070.00714.98
7.2.130.0050.00716.76
7.2.120.0020.01016.88
7.2.110.0080.00316.58
7.2.100.0060.00716.88
7.2.90.0040.00616.94
7.2.80.0020.00816.83
7.2.70.0040.00816.93
7.2.60.0070.00616.79
7.2.50.0100.00516.87
7.2.40.0090.00516.95
7.2.30.0030.01216.86
7.2.20.0060.00816.73
7.2.10.0030.01016.72
7.2.00.0080.00617.72
7.1.330.0060.00915.86
7.1.320.0060.00615.64
7.1.310.0060.00615.79
7.1.300.0000.01115.70
7.1.290.0030.01015.66
7.1.280.0000.01015.69
7.1.270.0060.00315.92
7.1.260.0040.00815.55
7.1.250.0130.00015.62
7.1.100.0070.01018.16
7.1.70.0040.00416.95
7.1.60.0040.01219.46
7.1.50.0070.01416.65
7.1.00.0000.08022.46
7.0.200.0100.00016.79
7.0.140.0070.06321.90
7.0.60.0130.03019.88
7.0.50.0100.03717.86
7.0.40.0070.07020.19
7.0.30.0130.04720.30
7.0.20.0300.07320.09
7.0.10.0100.08720.00
7.0.00.0030.04019.99
5.6.280.0030.07320.88
5.6.210.0100.05320.46
5.6.200.0070.05018.18
5.6.190.0200.05020.56
5.6.180.0330.07020.64
5.6.170.0400.04320.51
5.6.160.0070.08320.40
5.6.150.0270.03318.19
5.6.140.0070.08318.22
5.6.130.0070.06718.13
5.6.120.0070.08320.95
5.6.110.0130.05320.97
5.6.100.0200.06720.90
5.6.90.0130.05720.98
5.6.80.0130.06320.28
5.5.350.0130.07020.30
5.5.340.0100.03017.95
5.5.330.0170.06320.25
5.5.320.0470.07020.27
5.5.310.0500.06020.24
5.5.300.0070.03717.95
5.5.290.0070.05018.02
5.5.280.0000.04320.68
5.5.270.0000.08720.75
5.5.260.0030.08720.64
5.5.250.0100.04020.66
5.5.240.3700.03720.25
5.4.450.0030.08719.41
5.4.440.0070.05319.42
5.4.430.0000.05019.45
5.4.420.0030.07719.56
5.4.410.0000.06719.00
5.4.400.0070.04718.79
5.4.390.0170.04319.09
5.4.380.0030.03719.09
5.4.370.0130.03018.88
5.4.360.0030.04719.22
5.4.350.0030.03319.10
5.4.340.0030.04019.06
5.4.320.0030.03319.10
5.4.310.0000.04018.90
5.4.300.0030.03318.80
5.4.290.0000.04019.09
5.4.280.0000.04019.21
5.4.270.0070.03319.13
5.4.260.0070.03318.88
5.4.250.0000.03718.78
5.4.240.0070.03719.08
5.4.230.0070.03019.08
5.4.220.0000.04019.09
5.4.210.0000.03718.92
5.4.200.0030.03319.23
5.4.190.0030.04019.05
5.4.180.0000.03719.20
5.4.170.0070.03019.12
5.4.160.0000.04019.06
5.4.150.0000.04319.06
5.4.140.0000.04716.26
5.4.130.0000.03316.43
5.4.120.0000.03316.20
5.4.110.0000.03716.43
5.4.100.0000.03316.27
5.4.90.0000.03716.39
5.4.80.0100.04016.02
5.4.70.0030.04016.38
5.4.60.0030.05716.36
5.4.50.0000.07716.38
5.4.40.0000.07316.47
5.4.30.0070.07016.17
5.4.20.0100.05316.31
5.4.10.0100.06316.39
5.4.00.0000.07715.95
5.3.290.0000.04014.53
5.3.280.0030.03314.46
5.3.270.0030.03314.44
5.3.260.0000.03714.69
5.3.250.0000.03714.55
5.3.240.0000.04014.49
5.3.230.0000.03714.42
5.3.220.0000.03714.63
5.3.210.0000.04014.40
5.3.200.0000.04014.41
5.3.190.0030.04714.65
5.3.180.0030.07014.46
5.3.170.0000.08014.46
5.3.160.0130.02714.50
5.3.150.0000.05014.58
5.3.140.0030.07314.39
5.3.130.0100.07314.51
5.3.120.0030.07014.38
5.3.110.0070.06014.40
5.3.100.0070.06314.02
5.3.90.0000.06714.11
5.3.80.0070.05713.99
5.3.70.0070.06713.89
5.3.60.0070.06713.86
5.3.50.0000.06013.79
5.3.40.0070.07313.74
5.3.30.0030.07313.93
5.3.20.0000.05313.60
5.3.10.0000.07713.60
5.3.00.0100.07013.66
5.2.170.0030.04012.36
5.2.160.0070.06312.36
5.2.150.0000.05012.36
5.2.140.0030.04712.36
5.2.130.0070.05712.36
5.2.120.0070.05312.36
5.2.110.0000.05712.36
5.2.100.0000.05312.36
5.2.90.0030.05012.36
5.2.80.0000.06712.36
5.2.70.0030.04312.36
5.2.60.0100.05312.36
5.2.50.0130.05312.36
5.2.40.0100.05712.36
5.2.30.0000.06012.36
5.2.20.0070.05312.36
5.2.10.0000.04312.36
5.2.00.0030.04012.36
5.1.60.0070.04012.36
5.1.50.0070.04312.36
5.1.40.0000.03712.36
5.1.30.0030.05312.36
5.1.20.0000.05312.36
5.1.10.0000.05312.36
5.1.00.0000.04312.36
5.0.50.0030.03712.36
5.0.40.0000.03312.36
5.0.30.0030.04012.36
5.0.20.0030.02312.36
5.0.10.0000.03312.36
5.0.00.0070.03712.36
4.4.90.0030.02012.36
4.4.80.0070.03312.36
4.4.70.0000.03312.36
4.4.60.0000.03312.36
4.4.50.0030.02012.36
4.4.40.0000.04712.36
4.4.30.0000.02312.36
4.4.20.0030.03012.36
4.4.10.0000.03712.36
4.4.00.0030.04712.36
4.3.110.0070.01712.36
4.3.100.0000.02012.36
4.3.90.0000.02012.36
4.3.80.0000.04712.36
4.3.70.0000.02712.36
4.3.60.0170.02312.36
4.3.50.0000.02712.36
4.3.40.0070.04712.36
4.3.30.0030.02312.36
4.3.20.0030.02012.36
4.3.10.0000.02012.36
4.3.00.0030.03012.36

preferences:
49.18 ms | 401 KiB | 5 Q