3v4l.org

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

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.40.0180.00318.85
8.3.30.0120.00318.70
8.3.20.0040.00418.65
8.3.10.0070.00720.36
8.3.00.0060.00617.38
8.2.170.0150.00022.96
8.2.160.0080.00521.07
8.2.150.0050.00324.18
8.2.140.0050.00224.66
8.2.130.0100.01026.16
8.2.120.0050.00319.95
8.2.110.0060.00322.24
8.2.100.0040.00817.84
8.2.90.0060.00317.38
8.2.80.0000.00819.32
8.2.70.0000.00817.79
8.2.60.0000.00818.04
8.2.50.0070.00418.10
8.2.40.0070.00020.65
8.2.30.0080.00018.01
8.2.20.0040.00417.48
8.2.10.0030.00517.66
8.2.00.0070.00417.49
8.1.270.0040.00424.66
8.1.260.0030.00526.35
8.1.250.0080.00028.09
8.1.240.0030.00622.46
8.1.230.0000.01117.70
8.1.220.0030.00617.74
8.1.210.0050.00518.77
8.1.200.0030.00617.36
8.1.190.0060.00317.22
8.1.180.0000.00818.10
8.1.170.0040.00418.65
8.1.160.0050.00218.70
8.1.150.0040.00418.59
8.1.140.0070.00317.30
8.1.130.0030.00317.74
8.1.120.0070.00017.31
8.1.110.0040.00417.33
8.1.100.0040.00417.41
8.1.90.0030.00517.43
8.1.80.0040.00417.28
8.1.70.0030.00317.37
8.1.60.0040.00417.54
8.1.50.0030.00517.51
8.1.40.0050.00217.48
8.1.30.0050.00217.54
8.1.20.0060.00317.66
8.1.10.0050.00317.60
8.1.00.0030.00617.58
8.0.300.0030.00520.10
8.0.290.0020.00516.63
8.0.280.0000.00718.35
8.0.270.0000.00717.25
8.0.260.0060.00016.74
8.0.250.0030.00316.74
8.0.240.0070.00316.80
8.0.230.0000.00616.89
8.0.220.0030.00316.72
8.0.210.0060.00416.81
8.0.200.0030.00316.77
8.0.190.0040.00416.83
8.0.180.0000.00816.89
8.0.170.0030.00616.71
8.0.160.0030.00316.86
8.0.150.0070.00016.88
8.0.140.0000.00716.69
8.0.130.0000.00613.22
8.0.120.0050.00216.82
8.0.110.0030.00516.86
8.0.100.0040.00416.63
8.0.90.0000.00716.82
8.0.80.0000.01416.81
8.0.70.0000.00716.94
8.0.60.0070.00016.61
8.0.50.0040.00416.82
8.0.30.0110.00816.99
8.0.20.0120.00617.08
8.0.10.0040.00416.91
8.0.00.0130.01016.63
7.4.330.0000.00412.90
7.4.320.0030.00316.40
7.4.300.0000.00616.43
7.4.290.0030.00316.51
7.4.280.0040.00416.52
7.4.270.0070.00016.53
7.4.260.0030.00313.26
7.4.250.0000.01016.62
7.4.240.0000.00716.57
7.4.230.0000.00716.63
7.4.220.0090.00916.45
7.4.210.0090.00716.55
7.4.200.0030.00316.63
7.4.190.0030.00316.74
7.4.160.0060.00916.64
7.4.150.0150.00416.59
7.4.140.0060.01216.24
7.4.130.0140.00516.45
7.4.120.0130.00816.51
7.4.110.0080.00816.43
7.4.100.0130.00316.46
7.4.90.0220.01116.40
7.4.80.0170.00716.55
7.4.70.0090.00616.34
7.4.60.0140.00416.50
7.4.50.0060.00316.44
7.4.40.0000.01216.50
7.4.30.0030.01816.30
7.4.00.0060.00614.91
7.3.330.0070.00013.11
7.3.320.0020.00213.13
7.3.310.0030.00316.14
7.3.300.0060.00016.26
7.3.290.0120.00616.27
7.3.280.0050.01016.26
7.3.270.0050.01116.31
7.3.260.0060.01116.26
7.3.250.0090.01116.26
7.3.240.0090.00916.47
7.3.230.0070.01016.12
7.3.210.0070.01016.21
7.3.200.0060.00919.39
7.3.190.0090.01016.51
7.3.180.0130.00316.40
7.3.170.0140.00716.28
7.3.160.0070.01016.38
7.3.120.0120.00314.90
7.3.10.0110.00316.51
7.3.00.0030.00816.57
7.2.330.0090.00916.57
7.2.320.0090.01216.25
7.2.310.0120.00616.74
7.2.300.0160.00016.32
7.2.290.0160.00016.61
7.2.130.0080.00716.67
7.2.120.0050.01116.76
7.2.110.0110.00316.71
7.2.100.0010.01216.77
7.2.90.0040.01016.85
7.2.80.0060.00916.92
7.2.70.0030.00916.79
7.2.60.0020.01216.84
7.2.50.0030.00916.77
7.2.40.0070.00816.81
7.2.30.0080.00516.62
7.2.20.0090.00416.73
7.2.10.0070.00516.80
7.2.00.0080.00617.59
7.1.250.0040.01115.66
7.1.240.0080.00415.53
7.1.230.0060.00615.59
7.1.220.0040.01115.48
7.1.210.0040.00815.66
7.1.200.0000.00815.71
7.1.190.0060.00615.65
7.1.180.0070.00715.57
7.1.170.0030.00515.88
7.1.160.0070.01015.52
7.1.150.0000.01215.48
7.1.140.0110.00415.76
7.1.130.0070.00715.74
7.1.120.0100.00715.50
7.1.110.0070.00315.70
7.1.100.0030.00816.76
7.1.90.0070.01015.68
7.1.80.0030.01015.79
7.1.70.0070.00716.29
7.1.60.0060.01117.42
7.1.50.0060.00816.31
7.1.40.0030.00615.47
7.1.30.0040.01015.68
7.1.20.0060.00315.63
7.1.10.0030.00515.73
7.1.00.0030.04118.82
7.0.330.0000.00915.11
7.0.320.0030.00915.41
7.0.310.0110.00415.41
7.0.300.0100.00315.27
7.0.290.0040.00415.32
7.0.280.0030.00615.21
7.0.270.0000.00915.53
7.0.260.0060.00614.97
7.0.250.0060.00615.36
7.0.240.0060.00615.39
7.0.230.0030.01015.30
7.0.220.0030.00615.56
7.0.210.0180.00015.46
7.0.200.0070.00615.88
7.0.190.0030.01115.58
7.0.180.0040.01115.40
7.0.170.0030.01315.27
7.0.160.0000.01515.42
7.0.150.0030.01015.34
7.0.140.0070.03718.70
7.0.130.0120.00315.45
7.0.120.0060.03618.73
7.0.110.0070.00715.33
7.0.100.0000.01415.16
7.0.90.0000.00815.50
7.0.80.0060.00915.36
7.0.70.0120.00315.22
7.0.60.0160.04417.75
7.0.50.0050.04016.60
7.0.40.0100.04216.81
7.0.30.0190.03716.81
7.0.20.0250.03316.79
7.0.10.0050.03516.65
7.0.00.0070.03316.75
5.6.380.0090.00313.96
5.6.370.0040.00714.24
5.6.360.0070.00713.96
5.6.350.0030.01414.12
5.6.340.0000.01414.42
5.6.330.0120.00314.35
5.6.320.0090.00614.30
5.6.310.0030.01314.42
5.6.300.0030.01014.49
5.6.290.0030.01014.14
5.6.280.0050.04117.66
5.6.270.0130.00314.43
5.6.260.0100.00714.23
5.6.250.0060.00614.08
5.6.240.0100.00714.12
5.6.230.0130.00014.22
5.6.220.0030.01014.32
5.6.210.0090.03717.35
5.6.200.0050.03216.22
5.6.190.0000.03417.58
5.6.180.0100.02817.46
5.6.170.0200.03017.29
5.6.160.0050.04817.40
5.6.150.0050.04516.38
5.6.140.0070.02716.29
5.6.130.0050.03016.25
5.6.120.0070.02117.68
5.6.110.0000.02817.65
5.6.100.0030.04717.59
5.6.90.0100.04317.58
5.6.80.0070.04517.17
5.6.70.0000.01014.08
5.6.60.0080.00013.99
5.6.50.0030.01013.99
5.6.40.0000.01114.27
5.6.30.0060.00614.27
5.6.20.0040.00414.20
5.6.10.0060.00614.34
5.6.00.0070.00314.25
5.5.380.0040.00711.03
5.5.370.0000.00711.14
5.5.360.0000.00710.93
5.5.350.0150.03715.74
5.5.340.0050.03014.57
5.5.330.0060.02115.57
5.5.320.0170.04215.65
5.5.310.0090.02315.54
5.5.300.0050.04314.48
5.5.290.0070.02314.50
5.5.280.0100.04315.76
5.5.270.0080.03316.01
5.5.260.0080.04416.02
5.5.250.0080.03315.89
5.5.240.2120.02015.62
5.5.230.0000.00811.28
5.5.220.0060.00011.18
5.5.210.0040.00411.31
5.5.200.0030.00610.63
5.5.190.0050.00310.84
5.5.180.0030.01011.07
5.5.170.0030.00610.79
5.5.160.0000.00610.84
5.5.150.0000.00610.73
5.5.140.0000.01111.35
5.5.130.0030.00711.00
5.5.120.0030.00611.23
5.5.110.0050.00311.02
5.5.100.0030.00710.98
5.5.90.0000.00611.25
5.5.80.0000.00810.90
5.5.70.0000.00711.13
5.5.60.0050.00211.15
5.5.50.0000.01011.14
5.5.40.0050.00311.24
5.5.30.0070.00311.17
5.5.20.0090.00311.02
5.5.10.0000.00711.21
5.5.00.0000.00711.17
5.4.450.0100.03815.26
5.4.440.0050.04215.25
5.4.430.0050.04015.06
5.4.420.0050.03114.92
5.4.410.0070.03915.13
5.4.400.0080.04014.99
5.4.390.0100.01814.99
5.4.380.0040.02315.04
5.4.370.0070.02714.93
5.4.360.0050.02714.88
5.4.350.0170.02314.94
5.4.340.0080.04014.82
5.4.330.0000.00810.96
5.4.320.0050.03615.02
5.4.310.0100.03714.78
5.4.300.0020.03915.05
5.4.290.0110.03415.11
5.4.280.0030.03115.01
5.4.270.0080.04215.06
5.4.260.0080.03015.01
5.4.250.0060.04115.03
5.4.240.0080.03214.98
5.4.230.0110.02315.08
5.4.220.0050.02714.88
5.4.210.0020.02514.91
5.4.200.0100.02014.89
5.4.190.0020.02214.88
5.4.180.0020.02214.85
5.4.170.0030.02514.88
5.4.160.0030.02115.07
5.4.150.0040.02414.79
5.4.140.0020.02513.59
5.4.130.0040.01913.65
5.4.120.0050.02313.69
5.4.110.0050.02013.73
5.4.100.0050.01813.94
5.4.90.0060.01713.55
5.4.80.0030.02013.77
5.4.70.0000.02513.56
5.4.60.0040.01713.58
5.4.50.0050.02013.81
5.4.40.0050.01913.67
5.4.30.0030.01813.47
5.4.20.0020.02313.44
5.4.10.0000.02113.65
5.4.00.0030.02113.30
5.3.290.0130.01912.60
5.3.280.0040.02112.44
5.3.270.0050.02812.61
5.3.260.0020.02212.62
5.3.250.0030.02212.63
5.3.240.0020.02112.40
5.3.230.0010.02112.63
5.3.220.0030.01812.37
5.3.210.0020.02612.46
5.3.200.0060.02012.48
5.3.190.0080.01712.38
5.3.180.0050.01812.56
5.3.170.0060.01812.61
5.3.160.0080.01612.59
5.3.150.0020.02312.56
5.3.140.0030.02212.61
5.3.130.0050.02012.44
5.3.120.0050.02012.55
5.3.110.0030.02112.40
5.3.100.0020.02212.25
5.3.90.0030.02212.21
5.3.80.0020.01912.04
5.3.70.0030.01912.22
5.3.60.0070.01712.29
5.3.50.0040.02012.24
5.3.40.0080.01312.16
5.3.30.0050.03112.14
5.3.20.0060.03311.96
5.3.10.0050.03811.89
5.3.00.0030.02611.87
5.2.170.0040.01510.70
5.2.160.0040.01510.66
5.2.150.0030.01710.66
5.2.140.0050.02910.62
5.2.130.0000.02110.64
5.2.120.0000.01810.73
5.2.110.0000.02910.63
5.2.100.0050.01810.67
5.2.90.0070.03210.71
5.2.80.0060.02910.66
5.2.70.0070.03010.66
5.2.60.0060.03110.61
5.2.50.0050.02210.60
5.2.40.0020.03110.59
5.2.30.0020.03510.60
5.2.20.0030.03510.59
5.2.10.0050.03010.59
5.2.00.0040.03210.59
5.1.60.0010.03010.59
5.1.50.0030.02310.59
5.1.40.0060.01310.59
5.1.30.0030.03110.59
5.1.20.0030.03310.59
5.1.10.0020.01910.59
5.1.00.0010.03010.59
5.0.50.0040.01810.59
5.0.40.0030.01110.59
5.0.30.0020.01810.59
5.0.20.0010.01610.59
5.0.10.0020.01510.59
5.0.00.0030.03310.59
4.4.90.0030.01810.59
4.4.80.0000.01710.59
4.4.70.0040.00810.59
4.4.60.0070.01710.59
4.4.50.0030.01810.59
4.4.40.0000.01810.59
4.4.30.0050.01810.59
4.4.20.0030.01510.59
4.4.10.0030.01710.59
4.4.00.0000.02110.59
4.3.110.0020.01010.59
4.3.100.0070.01310.59
4.3.90.0000.01710.59
4.3.80.0000.01710.59
4.3.70.0020.01110.59
4.3.60.0030.01810.59
4.3.50.0000.01110.59
4.3.40.0020.01310.59
4.3.30.0030.00810.59
4.3.20.0020.01010.59
4.3.10.0020.01710.59
4.3.00.0000.01310.59

preferences:
47.83 ms | 400 KiB | 5 Q