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) && $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.70.0040.01118.43
8.3.60.0120.00618.43
8.3.50.0070.01116.23
8.3.40.0120.00318.54
8.3.30.0110.00418.72
8.3.20.0040.00419.02
8.3.10.0080.00018.98
8.3.00.0000.00817.80
8.2.190.0120.00316.58
8.2.180.0120.00318.33
8.2.170.0120.00622.96
8.2.160.0070.01018.91
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0070.00019.83
8.2.120.0030.00526.35
8.2.110.0090.00022.14
8.2.100.0060.00619.45
8.2.90.0080.00017.62
8.2.80.0000.00818.64
8.2.70.0040.00417.93
8.2.60.0000.00717.80
8.2.50.0040.00418.10
8.2.40.0000.00821.19
8.2.30.0050.00219.53
8.2.20.0040.00418.05
8.2.10.0020.00518.06
8.2.00.0040.00419.30
8.1.280.0060.01525.92
8.1.270.0050.00322.24
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0100.00324.02
8.1.230.0070.00419.07
8.1.220.0000.00818.64
8.1.210.0000.00818.77
8.1.200.0060.00317.35
8.1.190.0060.00317.35
8.1.180.0000.00918.10
8.1.170.0090.00018.66
8.1.160.0030.00518.89
8.1.150.0000.00718.89
8.1.140.0040.00417.70
8.1.130.0030.00319.00
8.1.120.0000.00817.46
8.1.110.0040.00417.34
8.1.100.0060.00617.45
8.1.90.0080.00317.47
8.1.80.0070.00317.50
8.1.70.0050.00317.45
8.1.60.0000.00817.59
8.1.50.0030.00517.52
8.1.40.0020.00517.52
8.1.30.0000.00717.58
8.1.20.0030.00617.57
8.1.10.0050.00317.56
8.1.00.0000.00717.47
8.0.300.0070.00018.77
8.0.290.0030.00616.75
8.0.280.0080.00018.44
8.0.270.0040.00417.17
8.0.260.0040.00717.26
8.0.250.0030.00316.98
8.0.240.0040.00416.97
8.0.230.0000.00716.85
8.0.220.0000.00716.89
8.0.210.0000.00716.88
8.0.200.0040.00416.87
8.0.190.0000.00716.81
8.0.180.0000.00716.95
8.0.170.0040.00416.87
8.0.160.0070.00016.88
8.0.150.0030.00316.86
8.0.140.0000.00816.77
8.0.130.0000.00513.33
8.0.120.0000.00716.79
8.0.110.0000.00716.97
8.0.100.0000.00916.85
8.0.90.0000.00716.79
8.0.80.0080.01416.90
8.0.70.0050.00316.72
8.0.60.0050.00416.95
8.0.50.0000.00716.88
8.0.30.0140.00517.14
8.0.20.0170.01717.40
8.0.10.0030.00516.88
8.0.00.0110.00616.92
7.4.330.0000.00515.55
7.4.320.0030.00316.50
7.4.300.0070.00016.53
7.4.290.0000.00716.52
7.4.280.0000.00716.57
7.4.270.0000.00816.49
7.4.260.0000.00716.50
7.4.250.0000.00716.48
7.4.240.0070.00016.56
7.4.230.0000.00716.53
7.4.220.0050.00316.70
7.4.210.0070.00916.50
7.4.200.0040.00416.54
7.4.160.0050.01316.47
7.4.140.0110.01217.86
7.4.130.0070.01016.54
7.4.120.0110.00816.52
7.4.110.0120.00816.34
7.4.100.0170.00016.43
7.4.90.0070.01116.57
7.4.80.0070.01019.39
7.4.70.0040.01716.41
7.4.60.0100.00616.38
7.4.50.0030.01316.39
7.4.40.0090.00716.53
7.4.00.0080.00814.89
7.3.330.0050.00013.23
7.3.320.0030.00313.24
7.3.310.0030.00316.38
7.3.300.0040.00416.20
7.3.290.0000.00716.11
7.3.280.0060.01116.21
7.3.260.0090.00916.43
7.3.240.0080.01216.27
7.3.230.0060.01316.23
7.3.210.0180.00416.38
7.3.200.0070.01016.17
7.3.190.0100.00616.41
7.3.180.0110.00416.17
7.3.170.0090.00616.37
7.3.160.0040.01216.18
7.3.120.0100.00914.91
7.3.110.0070.00714.83
7.3.100.0000.01514.81
7.3.90.0050.00914.62
7.3.80.0050.01014.90
7.3.70.0080.00814.61
7.3.60.0080.00714.73
7.3.50.0050.00614.81
7.3.40.0040.01114.45
7.3.30.0030.00914.75
7.3.20.0040.00916.55
7.3.10.0070.00716.57
7.3.00.0080.00516.55
7.2.330.0150.00916.85
7.2.320.0060.00916.82
7.2.310.0110.00716.64
7.2.300.0080.00816.82
7.2.290.0110.00716.71
7.2.250.0070.01215.30
7.2.240.0040.01415.07
7.2.230.0060.01015.05
7.2.220.0060.00614.77
7.2.210.0050.00814.84
7.2.200.0020.01314.77
7.2.190.0030.01214.96
7.2.180.0060.00915.02
7.2.170.0040.01015.14
7.2.160.0070.00414.83
7.2.150.0070.01017.07
7.2.140.0060.00916.91
7.2.130.0070.00716.74
7.2.120.0090.00616.85
7.2.110.0040.01116.95
7.2.100.0050.00816.84
7.2.90.0050.00916.78
7.2.80.0080.00917.04
7.2.70.0070.00516.75
7.2.60.1270.01316.15
7.2.50.1060.00516.24
7.2.40.0590.01116.19
7.2.30.0090.00616.24
7.2.20.0100.00716.49
7.2.10.0390.00816.29
7.2.00.0670.01016.38
7.1.330.0100.00515.51
7.1.320.0070.00215.66
7.1.310.0060.00815.81
7.1.300.0090.00515.75
7.1.290.0070.00615.52
7.1.280.0060.00515.63
7.1.270.0030.01115.72
7.1.260.0080.00215.67
7.1.250.0000.01315.67
7.1.240.0040.01215.63
7.1.230.0040.01215.86
7.1.220.0000.01115.55
7.1.210.0030.01015.70
7.1.200.0070.00815.60
7.1.190.0030.00915.61
7.1.180.0110.00415.36
7.1.170.1520.00914.69
7.1.160.0100.00916.27
7.1.150.0090.01116.05
7.1.140.0240.01016.28
7.1.130.1500.01016.14
7.1.120.0130.00716.05
7.1.110.0110.00815.80
7.1.100.0120.01015.80
7.1.90.0120.01015.84
7.1.80.0110.00815.79
7.1.70.0810.00915.39
7.1.60.0170.01124.36
7.1.50.2390.01124.08
7.1.40.0210.00824.14
7.1.30.0250.01024.14
7.1.20.0240.01124.00
7.1.10.2320.01215.39
7.1.00.1980.00915.15
7.0.330.0030.01315.12
7.0.320.0090.00315.54
7.0.310.0030.00615.50
7.0.300.0000.01115.30
7.0.290.0070.01015.37
7.0.280.0070.00315.39
7.0.270.0090.00315.32
7.0.260.0000.01415.46
7.0.250.0070.00715.56
7.0.240.0070.00715.49
7.0.230.0030.00915.50
7.0.220.0030.00615.38
7.0.210.0030.00715.55
7.0.200.0050.00515.39
7.0.190.0060.00615.16
7.0.180.0090.00615.40
7.0.170.0100.00715.49
7.0.160.0060.00615.22
7.0.150.0050.00515.23
7.0.140.0000.01115.47
7.0.130.0060.00615.35
7.0.120.0030.00615.36
7.0.110.0080.00615.48
7.0.100.0000.01515.50
7.0.90.0000.00815.23
7.0.80.0060.00915.02
7.0.70.0030.01015.14
7.0.60.0090.00315.09
7.0.50.0000.01115.46
7.0.40.0070.00713.42
7.0.30.0070.00713.55
7.0.20.0000.01213.44
7.0.10.0030.00713.53
7.0.00.0000.01313.46
5.6.400.0030.01014.19
5.6.390.0030.01013.91
5.6.380.0000.01414.49
5.6.370.0000.01014.52
5.6.360.0090.00314.34
5.6.350.0070.00714.15
5.6.340.0080.00313.92
5.6.330.0100.00314.68
5.6.320.0000.01214.57
5.6.310.0000.00814.46
5.6.300.0070.00414.53
5.6.290.0000.01214.67
5.6.280.0060.00614.38
5.6.270.0070.00714.27
5.6.260.0030.01114.31
5.6.250.0070.00414.32
5.6.240.0030.00914.42
5.6.230.0070.00414.48
5.6.220.0070.00314.32
5.6.210.0000.00914.38
5.6.200.0030.01114.53
5.6.190.0090.00614.66
5.6.180.0070.00414.24
5.6.170.0070.00414.23
5.6.160.0030.01214.18
5.6.150.0000.01414.21
5.6.140.0070.00714.53
5.6.130.0000.01314.32
5.6.120.0030.01014.29
5.6.110.0090.00314.31
5.6.100.0040.01114.09
5.6.90.0040.00814.42
5.6.80.0070.00714.16
5.6.70.0000.01214.56
5.6.60.0030.00714.47
5.6.50.0040.01114.24
5.6.40.0040.01114.35
5.6.30.0070.00713.98
5.6.20.0100.00714.55
5.6.10.0030.00914.44
5.6.00.0090.00614.16

preferences:
71.79 ms | 401 KiB | 5 Q