3v4l.org

run code in 300+ PHP versions simultaneously
<?php class ZunicoreNull { function __construct() { return FALSE; } static public function get() { return new ZunicoreNull; } } $null = ZunicoreNull::get(); if ($null) { print "is true"; } else { print "is false"; $null->some_method(); }

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.0100.01018.18
8.3.50.0130.00721.20
8.3.40.0110.00418.89
8.3.30.0050.00819.04
8.3.20.0040.00420.29
8.3.10.0040.00422.10
8.3.00.0060.00322.46
8.2.180.0100.01016.63
8.2.170.0120.00322.96
8.2.160.0070.00721.00
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0100.00326.16
8.2.120.0060.00317.63
8.2.110.0030.00622.10
8.2.100.0040.00817.66
8.2.90.0040.00419.17
8.2.80.0050.00317.97
8.2.70.0040.00417.50
8.2.60.0090.00217.68
8.2.50.0080.00018.07
8.2.40.0030.00618.16
8.2.30.0030.00718.00
8.2.20.0000.00717.47
8.2.10.0040.00419.40
8.2.00.0000.00717.48
8.1.280.0040.01125.92
8.1.270.0090.00623.83
8.1.260.0080.00026.35
8.1.250.0110.00728.09
8.1.240.0000.01021.00
8.1.230.0080.00417.42
8.1.220.0030.00617.74
8.1.210.0000.00918.77
8.1.200.0030.00617.13
8.1.190.0000.00717.40
8.1.180.0000.00918.10
8.1.170.0000.00918.41
8.1.160.0090.00021.93
8.1.150.0040.00418.50
8.1.140.0040.00417.32
8.1.130.0000.00717.82
8.1.120.0000.00717.44
8.1.110.0000.00817.27
8.1.100.0000.00717.42
8.1.90.0040.00417.27
8.1.80.0050.00317.45
8.1.70.0030.00317.28
8.1.60.0080.00517.47
8.1.50.0050.00217.54
8.1.40.0050.00217.53
8.1.30.0030.00517.46
8.1.20.0050.00317.60
8.1.10.0040.00417.55
8.1.00.0030.00517.45
8.0.300.0030.00518.77
8.0.290.0000.00716.88
8.0.280.0040.00418.43
8.0.270.0030.00317.29
8.0.260.0060.00016.71
8.0.250.0080.00016.89
8.0.240.0030.00316.86
8.0.230.0000.00816.89
8.0.220.0040.00416.81
8.0.210.0040.00416.83
8.0.200.0000.00716.89
8.0.190.0030.00616.79
8.0.180.0040.00416.87
8.0.170.0060.00316.76
8.0.160.0000.00716.89
8.0.150.0000.00716.87
8.0.140.0040.00416.81
8.0.130.0050.00013.18
8.0.120.0000.00816.77
8.0.110.0040.00416.75
8.0.100.0040.00416.71
8.0.90.0030.00516.63
8.0.80.0140.00316.74
8.0.70.0040.00316.64
8.0.60.0040.00416.69
8.0.50.0000.00816.72
8.0.30.0110.00817.29
8.0.20.0110.00717.40
8.0.10.0000.00716.72
8.0.00.0090.00916.71
7.4.330.0000.00515.13
7.4.320.0050.00216.45
7.4.300.0000.00716.52
7.4.290.0000.00616.50
7.4.280.0000.00716.49
7.4.270.0030.00316.45
7.4.260.0030.00616.44
7.4.250.0000.00816.47
7.4.240.0020.00516.47
7.4.230.0070.00016.66
7.4.220.0040.02116.48
7.4.210.0020.01416.49
7.4.200.0080.00016.66
7.4.190.0030.00316.69
7.4.160.0110.00716.72
7.4.150.0130.01017.40
7.4.140.0160.00517.86
7.4.130.0140.00716.58
7.4.120.0070.00916.39
7.4.110.0130.01016.30
7.4.100.0100.00716.47
7.4.90.0170.00016.34
7.4.80.0100.00819.39
7.4.70.0140.00616.38
7.4.60.0130.00316.49
7.4.50.0050.00016.29
7.4.40.0070.00422.77
7.4.30.0100.00616.20
7.4.00.0030.01314.76
7.3.330.0060.00013.20
7.3.320.0000.00613.00
7.3.310.0030.00316.19
7.3.300.0000.00716.24
7.3.290.0060.00916.15
7.3.280.0090.00816.24
7.3.270.0100.00717.40
7.3.260.0080.00816.37
7.3.250.0190.00516.32
7.3.240.0090.00916.39
7.3.230.0080.00816.39
7.3.210.0060.01016.46
7.3.200.0090.00919.39
7.3.190.0060.01516.40
7.3.180.0000.01516.56
7.3.170.0120.00316.41
7.3.160.0120.00916.43
7.3.120.0030.01014.75
7.3.00.0070.00716.59
7.2.330.0100.00716.50
7.2.320.0140.00416.45
7.2.310.0100.00716.72
7.2.300.0060.00916.29
7.2.290.0030.01416.50
7.2.130.0080.00416.52
7.2.120.0030.01016.80
7.2.110.0000.01016.78
7.2.100.0070.00416.80
7.2.90.0100.00616.85
7.2.80.0100.00716.82
7.2.70.0070.00716.77
7.2.60.0070.00716.71
7.2.50.0100.00716.88
7.2.40.0160.00316.81
7.2.30.0070.00716.35
7.2.20.0000.01316.55
7.2.10.0040.01216.94
7.2.00.0130.00016.82
7.1.250.0110.00715.66
7.1.240.0060.00915.47
7.1.230.0000.01315.73
7.1.220.0030.00715.62
7.1.210.0030.01315.71
7.1.200.0130.00315.58
7.1.190.0030.01015.52
7.1.180.0160.00315.64
7.1.170.0040.01115.68
7.1.160.0090.00315.61
7.1.150.0040.00815.79
7.1.140.0040.01115.60
7.1.130.0040.01115.73
7.1.120.0100.01015.65
7.1.110.0100.00315.47
7.1.100.0070.00715.70
7.1.90.0040.00415.83
7.1.80.0070.01115.37
7.1.70.0070.00316.31
7.1.60.0050.01417.71
7.1.50.0050.00716.35
7.1.40.0000.01015.61
7.1.30.0060.00615.78
7.1.20.0000.01015.52
7.1.10.0130.00615.68
7.1.00.0070.04019.22
7.0.330.0140.00315.27
7.0.320.0160.00315.14
7.0.310.0000.00914.97
7.0.300.0030.00715.32
7.0.290.0070.00715.33
7.0.280.0000.01015.25
7.0.270.0070.00715.37
7.0.260.0040.00715.34
7.0.250.0060.00915.02
7.0.240.0100.00714.97
7.0.230.0080.00415.24
7.0.220.0100.00015.57
7.0.210.0090.00615.26
7.0.200.0120.00316.00
7.0.190.0000.01115.32
7.0.180.0070.01015.16
7.0.170.0000.01414.95
7.0.160.0030.00915.17
7.0.150.0070.00315.09
7.0.140.0150.03318.57
7.0.130.0070.00415.21
7.0.120.0000.01715.29
7.0.110.0070.00715.41
7.0.100.0060.00314.98
7.0.90.0070.00714.97
7.0.80.0110.00415.10
7.0.70.0000.01715.30
7.0.60.0080.04518.49
7.0.50.0060.04416.47
7.0.40.0100.04316.82
7.0.30.0180.04316.73
7.0.20.0110.02716.59
7.0.10.0090.02416.74
7.0.00.0100.04216.54
5.6.380.0120.00314.65
5.6.370.0000.01014.02
5.6.360.0110.00413.98
5.6.350.0070.00314.03
5.6.340.0040.01114.14
5.6.330.0000.01114.32
5.6.320.0000.00914.36
5.6.310.0050.00514.03
5.6.300.0080.00814.31
5.6.290.0060.00913.85
5.6.280.0070.04017.47
5.6.270.0000.01214.26
5.6.260.0090.00314.20
5.6.250.0120.00614.11
5.6.240.0060.00613.92
5.6.230.0040.01213.85
5.6.220.0070.00614.22
5.6.210.0050.04617.44
5.6.200.0050.03016.12
5.6.190.0060.03317.20
5.6.180.0070.03517.22
5.6.170.0150.03017.46
5.6.160.0050.04117.36
5.6.150.0060.04316.30
5.6.140.0100.04316.25
5.6.130.0110.03316.15
5.6.120.0050.04717.72
5.6.110.0080.02417.75
5.6.100.0020.04317.76
5.6.90.0070.03817.61
5.6.80.0090.03717.22
5.6.70.0090.00914.16
5.6.60.0030.01413.79
5.6.50.0140.00013.84
5.6.40.0060.01013.93
5.6.30.0140.00314.04
5.6.20.0090.00914.25
5.6.10.0100.01013.70
5.6.00.0100.01013.73
5.5.380.0060.00610.94
5.5.370.0070.00310.63
5.5.360.0040.00811.07
5.5.350.0050.02515.73
5.5.340.0030.03014.52
5.5.330.0020.05015.70
5.5.320.0080.04215.83
5.5.310.0200.03815.51
5.5.300.0050.03514.52
5.5.290.0050.04214.66
5.5.280.0130.04015.88
5.5.270.0050.04215.77
5.5.260.0080.02316.04
5.5.250.0070.03015.91
5.5.240.0100.03815.40
5.5.230.0030.01011.10
5.5.220.0030.00910.93
5.5.210.0070.00410.53
5.5.200.0040.00411.01
5.5.190.0030.00911.10
5.5.180.0030.00810.87
5.5.170.0100.00510.61
5.5.160.0000.01411.05
5.5.150.0040.00810.89
5.5.140.0000.01011.03
5.5.130.0080.00610.93
5.5.120.0030.00910.48
5.5.110.0090.00610.98
5.5.100.0090.00311.11
5.5.90.0100.00510.85
5.5.80.0060.00911.01
5.5.70.0060.00611.06
5.5.60.0140.00011.00
5.5.50.0080.00511.13
5.5.40.0080.00410.71
5.5.30.0050.00310.83
5.5.20.0060.00610.74
5.5.10.0090.00511.25
5.5.00.0070.00711.13
5.4.450.0100.02415.29
5.4.440.0540.02015.11
5.4.430.0400.00315.06
5.4.420.0500.00414.83
5.4.410.0050.03014.82
5.4.400.0090.02814.73
5.4.390.0030.03214.73
5.4.380.0180.02814.59
5.4.370.0180.02414.90
5.4.360.0100.03014.78
5.4.350.0110.03314.44
5.4.340.0140.04014.47
5.4.330.0050.00510.86
5.4.320.0040.02311.57
5.4.310.0060.02311.40
5.4.300.0060.02011.52
5.4.290.0040.02411.63
5.4.280.0050.02411.50
5.4.270.0040.02311.58
5.4.260.0060.02711.61
5.4.250.0080.02411.41
5.4.240.0110.02111.50
5.4.230.0050.02611.48
5.4.220.0070.02111.35
5.4.210.0060.02111.49
5.4.200.0060.02211.46
5.4.190.0110.02311.48
5.4.180.0100.02611.37
5.4.170.0100.02611.52
5.4.160.0090.02811.53
5.4.150.0120.02511.67
5.4.140.0140.02411.51
5.4.130.0120.03811.40
5.4.120.0140.02411.43
5.4.110.0130.02411.53
5.4.100.0130.02411.37
5.4.90.0080.02611.38
5.4.80.0070.02511.23
5.4.70.0130.03711.42
5.4.60.0050.02911.37
5.4.50.0090.02611.22
5.4.40.0120.02311.36
5.4.30.0110.02611.26
5.4.20.0140.02111.57
5.4.10.0240.04111.30
5.4.00.0120.02211.09
5.3.290.0040.02711.62
5.3.280.0050.02511.63
5.3.270.0120.02411.60
5.3.260.0130.02511.64
5.3.250.0110.02411.65
5.3.240.0160.02211.57
5.3.230.0100.02911.64
5.3.220.0140.02411.52
5.3.210.0120.02711.56
5.3.200.0100.02611.56
5.3.190.0150.03711.57
5.3.180.0090.02711.63
5.3.170.0110.02311.64
5.3.160.0090.02611.62
5.3.150.0140.03711.61
5.3.140.0110.02511.60
5.3.130.0090.02711.48
5.3.120.0100.02611.62
5.3.110.0120.02311.60
5.3.100.0100.03911.35
5.3.90.0140.02111.31
5.3.80.0080.02711.30
5.3.70.0120.02211.25
5.3.60.0070.03211.19
5.3.50.0080.02811.08
5.3.40.0100.02811.22
5.3.30.0120.02511.20
5.3.20.0190.04011.06
5.3.10.0120.02611.05
5.3.00.0100.02210.91
5.2.170.0090.0199.33
5.2.160.0100.0199.42
5.2.150.0070.0239.38
5.2.140.0100.0199.30
5.2.130.0090.0209.27
5.2.120.0090.0219.32
5.2.110.0040.0269.19
5.2.100.0060.0229.21
5.2.90.0100.0359.17
5.2.80.0060.0239.34
5.2.70.0070.0219.20
5.2.60.0070.0219.23
5.2.50.0080.0219.26
5.2.40.0080.0229.14
5.2.30.0100.0199.19
5.2.20.0080.0229.01
5.2.10.0170.0279.08
5.2.00.0080.0209.00
5.1.60.0090.0178.29
5.1.50.0090.0178.29
5.1.40.0080.0188.19
5.1.30.0180.0248.55
5.1.20.0080.0188.49
5.1.10.0090.0178.43
5.1.00.0040.0218.32
5.0.50.0080.0137.16
5.0.40.0060.0147.09
5.0.30.0060.0207.00
5.0.20.0090.0136.98
5.0.10.0070.0156.97
5.0.00.0150.0436.97
4.4.90.0050.0116.23
4.4.80.0040.0136.21
4.4.70.0040.0126.22
4.4.60.0060.0106.22
4.4.50.0050.0126.22
4.4.40.0050.0186.20
4.4.30.0040.0136.22
4.4.20.0060.0116.26
4.4.10.0090.0096.26
4.4.00.0130.0396.22
4.3.110.0040.0126.17
4.3.100.0050.0106.17
4.3.90.0050.0116.16
4.3.80.0060.0166.13
4.3.70.0050.0116.16
4.3.60.0060.0086.15
4.3.50.0070.0096.15
4.3.40.0060.0156.11
4.3.30.0060.0105.49
4.3.20.0040.0135.48
4.3.10.0040.0115.46
4.3.00.0100.01111.63

preferences:
45.7 ms | 401 KiB | 5 Q