3v4l.org

run code in 300+ PHP versions simultaneously
<?php class GhostsAreReal { public function __get($var_name) { return true; } } $ghosts = new GhostsAreReal(); if ( ! isset($ghosts->exist) && empty($ghosts->exist) && $ghosts->exist ) { // language construct echo 'https://media.giphy.com/media/nWVtKOeSJuEfu/source.gif'; }

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.43
8.3.50.0120.00616.28
8.3.40.0120.00618.66
8.3.30.0070.00718.49
8.3.20.0040.00419.02
8.3.10.0030.00519.21
8.3.00.0080.00017.80
8.2.180.0080.00818.54
8.2.170.0180.00022.96
8.2.160.0130.00318.95
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00019.43
8.2.110.0000.00920.98
8.2.100.0040.00817.78
8.2.90.0080.00017.63
8.2.80.0040.00418.72
8.2.70.0080.00017.93
8.2.60.0000.00917.93
8.2.50.0080.00018.10
8.2.40.0060.00321.07
8.2.30.0070.00019.39
8.2.20.0080.00017.97
8.2.10.0040.00418.00
8.2.00.0030.00319.43
8.1.280.0090.00625.92
8.1.270.0080.00022.19
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0080.00423.83
8.1.230.0040.00822.88
8.1.220.0000.00818.37
8.1.210.0060.00318.77
8.1.200.0040.00417.23
8.1.190.0000.00917.22
8.1.180.0070.00418.10
8.1.170.0000.00818.60
8.1.160.0040.00418.86
8.1.150.0070.00018.77
8.1.140.0000.00817.73
8.1.130.0000.00719.03
8.1.120.0040.00417.49
8.1.110.0000.00717.43
8.1.100.0060.00317.36
8.1.90.0070.00417.45
8.1.80.0030.00717.49
8.1.70.0000.00817.46
8.1.60.0040.00417.56
8.1.50.0000.00817.41
8.1.40.0000.00817.48
8.1.30.0040.00417.59
8.1.20.0040.00417.70
8.1.10.0000.00817.46
8.1.00.0040.00417.55
8.0.300.0080.00018.77
8.0.290.0050.00316.58
8.0.280.0000.00718.49
8.0.270.0000.00817.32
8.0.260.0070.00019.05
8.0.250.0030.00316.96
8.0.240.0080.00016.96
8.0.230.0000.00716.96
8.0.220.0040.00416.77
8.0.210.0000.00716.90
8.0.200.0040.00416.91
8.0.190.0070.00016.95
8.0.180.0060.00316.93
8.0.170.0060.00316.91
8.0.160.0050.00216.81
8.0.150.0080.00016.89
8.0.140.0040.00416.86
8.0.130.0060.00013.35
8.0.120.0030.00516.80
8.0.110.0040.00416.90
8.0.100.0040.00416.78
8.0.90.0040.00416.92
8.0.80.0120.00516.85
8.0.70.0000.00816.77
8.0.60.0000.00716.84
8.0.50.0040.00416.82
8.0.30.0090.01017.10
8.0.20.0090.01217.40
8.0.10.0000.00717.00
8.0.00.0110.00716.71
7.4.330.0000.00615.55
7.4.320.0030.00316.62
7.4.300.0070.00016.50
7.4.290.0030.00316.49
7.4.280.0040.00416.55
7.4.270.0000.00716.53
7.4.260.0040.00416.43
7.4.250.0000.00816.55
7.4.240.0030.00616.58
7.4.230.0070.00016.72
7.4.220.0040.00416.68
7.4.210.0110.00616.58
7.4.200.0000.00816.69
7.4.160.0130.00316.50
7.4.140.0120.00917.86
7.4.130.0030.01616.44
7.4.120.0070.01016.50
7.4.110.0140.00316.47
7.4.100.0070.01016.53
7.4.90.0070.01016.46
7.4.80.0040.01419.39
7.4.70.0130.00316.61
7.4.60.0190.00416.48
7.4.50.0000.01916.68
7.4.40.0180.00316.69
7.4.10.0060.01015.05
7.4.00.0060.01214.96
7.3.330.0000.00613.18
7.3.320.0000.00513.23
7.3.310.0050.00316.13
7.3.300.0070.00016.16
7.3.290.0030.00316.15
7.3.280.0110.00816.21
7.3.260.0110.00816.36
7.3.240.0120.00616.39
7.3.230.0090.00916.49
7.3.210.0090.00916.09
7.3.200.0090.01216.26
7.3.190.0070.01416.43
7.3.180.0160.00016.20
7.3.170.0030.01216.25
7.3.160.0100.01316.50
7.3.130.0180.00014.37
7.3.120.0090.00914.97
7.3.110.0150.00314.71
7.3.100.0040.01114.81
7.3.90.0060.00614.63
7.3.80.0060.00614.82
7.3.70.0070.01014.83
7.3.60.0040.01414.35
7.3.50.0070.00314.74
7.3.40.0060.01014.56
7.3.30.0030.00714.48
7.3.20.0030.00916.68
7.3.10.0030.01016.61
7.3.00.0030.00616.32
7.2.330.0110.00716.38
7.2.320.0110.00616.60
7.2.310.0150.00816.72
7.2.300.0070.01016.38
7.2.290.0070.01116.65
7.2.260.0070.01015.11
7.2.250.0030.01314.90
7.2.240.0060.00915.19
7.2.230.0150.00014.75
7.2.220.0070.00714.94
7.2.210.0100.00314.73
7.2.200.0000.01514.81
7.2.190.0040.00814.88
7.2.180.0040.00815.10
7.2.170.0000.01515.22
7.2.160.0030.00714.87
7.2.150.0040.01416.76
7.2.140.0030.01017.00
7.2.130.0060.01216.71
7.2.120.0140.00317.04
7.2.110.0100.00616.89
7.2.100.0030.01216.87
7.2.90.0030.01316.76
7.2.80.0060.01316.61
7.2.70.0000.01417.01
7.2.60.0090.01016.09
7.2.50.1550.01215.95
7.2.40.0210.00716.15
7.2.30.0060.00816.26
7.2.20.0310.00716.21
7.2.10.1760.01016.18
7.2.00.1910.00915.99
7.1.330.0000.01115.71
7.1.320.0080.00615.58
7.1.310.0090.00615.75
7.1.300.0060.00915.39
7.1.290.0090.00615.40
7.1.280.0120.00415.59
7.1.270.0070.00715.80
7.1.260.0000.01515.41
7.1.250.0110.00315.88
7.1.240.0070.00715.59
7.1.230.0090.00615.81
7.1.220.0070.00715.66
7.1.210.0030.00915.72
7.1.200.0110.00515.74
7.1.190.0060.00615.80
7.1.180.0040.00415.85
7.1.170.0500.00514.73
7.1.160.0060.00816.13
7.1.150.0060.01116.30
7.1.140.1430.00816.32
7.1.130.1580.00916.08
7.1.120.1510.01116.07
7.1.110.0110.01216.07
7.1.100.0070.01215.95
7.1.90.0100.00515.79
7.1.80.0090.00915.80
7.1.70.0050.01015.30
7.1.60.0190.00824.28
7.1.50.0180.01624.35
7.1.40.1950.01124.30
7.1.30.2250.01424.11
7.1.20.2320.01424.15
7.1.10.2410.01215.15
7.1.00.1580.01115.25
7.0.330.0060.00315.17
7.0.320.0090.00315.45
7.0.310.0150.00015.41
7.0.300.0090.00615.35
7.0.290.0060.00315.32
7.0.280.0060.00615.34
7.0.270.0100.00015.04
7.0.260.0060.01115.53
7.0.250.0000.01515.47
7.0.240.0070.00715.49
7.0.230.0040.00715.21
7.0.220.0060.00315.33
7.0.210.0060.00915.47
7.0.200.0030.00615.11
7.0.190.0070.00315.33
7.0.180.0030.00615.19
7.0.170.0100.00315.21
7.0.160.0040.00815.41
7.0.150.0000.01015.07
7.0.140.0070.00315.25
7.0.130.0070.01015.42
7.0.120.0090.00915.39
7.0.110.0060.00315.48
7.0.100.0040.00815.23
7.0.90.0040.00715.38
7.0.80.0060.01015.25
7.0.70.0110.00415.35
7.0.60.0070.00315.48
7.0.50.0110.00015.29
7.0.40.0000.00813.59
7.0.30.0070.00413.41
7.0.20.0030.00913.65
7.0.10.0000.01413.23
7.0.00.0030.00513.63
5.6.400.0150.00014.27
5.6.390.0060.01014.29
5.6.380.0000.01014.23
5.6.370.0090.00614.25
5.6.360.0040.01114.41
5.6.350.0110.00414.47
5.6.340.0000.01514.03
5.6.330.0030.01214.29
5.6.320.0000.01414.49
5.6.310.0040.01014.14
5.6.300.0060.00814.59
5.6.290.0060.01214.31
5.6.280.0030.01314.32
5.6.270.0030.00914.46
5.6.260.0080.00414.22
5.6.250.0040.00814.32
5.6.240.0100.00314.46
5.6.230.0060.00314.38
5.6.220.0050.00514.64
5.6.210.0030.00514.20
5.6.200.0070.00714.34
5.6.190.0120.00314.30
5.6.180.0000.01114.41
5.6.170.0080.00314.25
5.6.160.0030.01314.26
5.6.150.0080.00414.36
5.6.140.0070.00414.69
5.6.130.0090.00614.48
5.6.120.0090.00614.42
5.6.110.0090.00614.43
5.6.100.0030.01214.30
5.6.90.0090.00614.57
5.6.80.0090.00614.36
5.6.70.0090.00614.27
5.6.60.0030.00714.30
5.6.50.0030.00914.39
5.6.40.0100.00314.38
5.6.30.0030.01114.55
5.6.20.0100.00314.16
5.6.10.0090.00314.24
5.6.00.0060.00314.16

preferences:
50.96 ms | 400 KiB | 5 Q