3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Drupal { } if (class_exists('FakeDrupal') && defined('FakeDrupal::CORE_COMPATIBILITY')) { echo FakeDrupal::CORE_COMPATIBILITY; } if (class_exists('Drupal') && defined('Drupal::CORE_COMPATIBILITY')) { echo Drupal::CORE_COMPATIBILITY; } if (class_exists('Drupal1') && defined('Drupal1::CORE_COMPATIBILITY')) { echo Drupal1::CORE_COMPATIBILITY; }

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.0110.01116.38
8.3.50.0100.00522.04
8.3.40.0040.01118.71
8.3.30.0030.00919.12
8.3.20.0040.00420.21
8.3.10.0000.00723.70
8.3.00.0030.00719.20
8.2.180.0090.00916.50
8.2.170.0070.00722.96
8.2.160.0140.00020.39
8.2.150.0090.00024.18
8.2.140.0000.00824.66
8.2.130.0060.00926.16
8.2.120.0000.00722.16
8.2.110.0000.00922.26
8.2.100.0080.00417.78
8.2.90.0040.00419.08
8.2.80.0040.00417.97
8.2.70.0030.00517.36
8.2.60.0060.00617.80
8.2.50.0050.00318.07
8.2.40.0040.00418.16
8.2.30.0050.00317.88
8.2.20.0030.00617.61
8.2.10.0030.00517.50
8.2.00.0040.00417.56
8.1.280.0030.01725.92
8.1.270.0060.00323.96
8.1.260.0030.00526.35
8.1.250.0030.00628.09
8.1.240.0090.00023.98
8.1.230.0070.00419.16
8.1.220.0030.00517.74
8.1.210.0040.00418.77
8.1.200.0060.00317.35
8.1.190.0090.00017.41
8.1.180.0040.00418.10
8.1.170.0050.00318.59
8.1.160.0000.00722.06
8.1.150.0060.00318.64
8.1.140.0040.00417.44
8.1.130.0030.00317.73
8.1.120.0030.00317.49
8.1.110.0000.00717.41
8.1.100.0000.00717.29
8.1.90.0050.00217.40
8.1.80.0030.00317.29
8.1.70.0040.00417.27
8.1.60.0000.00817.54
8.1.50.0080.00017.40
8.1.40.0040.00417.48
8.1.30.0030.00517.57
8.1.20.0040.00417.64
8.1.10.0000.00717.39
8.1.00.0060.00317.32
8.0.300.0040.00418.77
8.0.290.0040.00416.93
8.0.280.0030.00318.25
8.0.270.0070.00017.14
8.0.260.0000.00616.76
8.0.250.0030.00316.82
8.0.240.0030.00616.91
8.0.230.0070.00016.94
8.0.220.0000.00716.70
8.0.210.0060.00316.69
8.0.200.0000.00616.89
8.0.190.0030.00316.90
8.0.180.0070.00016.82
8.0.170.0020.00516.89
8.0.160.0070.00016.97
8.0.150.0040.00416.78
8.0.140.0000.00716.80
8.0.130.0000.00513.27
8.0.120.0000.00816.73
8.0.110.0040.00416.80
8.0.100.0050.00316.86
8.0.90.0030.00316.73
8.0.80.0180.00416.88
8.0.70.0040.00416.73
8.0.60.0000.00716.82
8.0.50.0040.00416.88
8.0.30.0110.00817.12
8.0.20.0110.00917.40
8.0.10.0000.00716.90
8.0.00.0070.01416.63
7.4.330.0000.00515.00
7.4.320.0030.00316.52
7.4.300.0060.00016.37
7.4.290.0000.00716.50
7.4.280.0030.00316.58
7.4.270.0040.00416.43
7.4.260.0000.01016.33
7.4.250.0040.00416.43
7.4.240.0050.00216.42
7.4.230.0030.00316.32
7.4.220.0100.00716.56
7.4.210.0090.00816.54
7.4.200.0030.00516.48
7.4.190.0070.00016.62
7.4.160.0100.00616.52
7.4.150.0060.01317.40
7.4.140.0090.01117.86
7.4.130.0050.01216.35
7.4.120.0100.00716.43
7.4.110.0080.00916.39
7.4.100.0120.00616.35
7.4.90.0090.00916.31
7.4.80.0090.00919.39
7.4.70.0030.01316.39
7.4.60.0080.00816.56
7.4.50.0050.00016.16
7.4.40.0080.00822.77
7.4.30.0080.01016.59
7.4.00.0090.00615.13
7.3.330.0000.00612.96
7.3.320.0050.00012.94
7.3.310.0040.00416.03
7.3.300.0040.00416.14
7.3.290.0090.00616.25
7.3.280.0060.01116.24
7.3.270.0130.00317.40
7.3.260.0150.00316.27
7.3.250.0180.00816.28
7.3.240.0080.00816.25
7.3.230.0130.00416.39
7.3.210.0110.00616.44
7.3.200.0130.00719.39
7.3.190.0130.00616.23
7.3.180.0090.00616.05
7.3.170.0060.01016.27
7.3.160.0090.00916.22
7.3.120.0070.01014.82
7.2.330.0100.01016.44
7.2.320.0030.01316.35
7.2.310.0040.01816.70
7.2.300.0100.00716.16
7.2.290.0120.00316.43
7.2.60.0030.00816.71
7.1.200.0090.00015.55
7.1.100.0030.00917.76
7.1.70.0040.00416.78
7.1.60.0120.01219.29
7.1.50.0190.01334.75
7.1.00.0000.07722.38
7.0.200.0000.00716.88
7.0.140.0030.07322.07
7.0.100.0130.03319.94
7.0.90.0030.06720.03
7.0.80.0030.04320.02
7.0.70.0430.06019.85
7.0.60.0070.04019.89
7.0.50.0100.03720.24
7.0.40.0170.07720.11
7.0.30.0070.06720.09
7.0.20.0100.09020.13
7.0.10.0070.07720.02
7.0.00.0130.06320.02
5.6.280.0000.07721.02
5.6.250.0130.07320.57
5.6.240.0070.08020.64
5.6.230.0030.07020.68
5.6.220.0170.03720.74
5.6.210.0000.08720.66
5.6.200.0200.06321.09
5.6.190.0100.07021.07
5.6.180.0230.05721.07
5.6.170.0030.07720.96
5.6.160.0070.04721.05
5.6.150.0170.07021.04
5.6.140.0070.04720.93
5.6.130.0100.04720.93
5.6.120.0070.06021.00
5.6.110.0130.07320.93
5.6.100.0100.08321.09
5.6.90.0170.08021.05
5.6.80.0000.06020.43
5.6.70.0100.07720.46
5.6.60.0170.04720.33
5.6.50.0030.08720.43
5.6.40.0200.07320.41
5.6.30.0070.03720.39
5.6.20.0070.08020.29
5.6.10.0030.04720.46
5.6.00.0000.07320.50
5.5.380.0130.07020.40
5.5.370.0170.03720.41
5.5.360.0070.04020.43
5.5.350.0100.04720.39
5.5.340.0030.05320.89
5.5.330.0030.05720.90
5.5.320.0000.06320.75
5.5.310.0100.04720.73
5.5.300.0100.07720.64
5.5.290.0100.06720.77
5.5.280.0030.06320.87
5.5.270.0030.06020.92
5.5.260.0030.06720.82
5.5.250.0070.07720.62
5.5.240.0030.07020.32
5.5.230.0170.05320.18
5.5.220.0070.08020.01
5.5.210.0200.05320.15
5.5.200.0170.06020.09
5.5.190.0100.03720.06
5.5.180.0130.07720.08
5.5.160.0100.08020.14
5.5.150.0100.07720.27
5.5.140.0130.06320.26
5.5.130.0270.06020.25
5.5.120.0070.04720.11
5.5.110.0070.06720.20
5.5.100.0030.06020.06
5.5.90.0070.06720.16
5.5.80.0070.04020.07
5.5.70.0000.04320.11
5.5.60.0070.04020.05
5.5.50.0030.06020.08
5.5.40.0130.05320.08
5.5.30.0000.05719.96
5.5.20.0070.05720.04
5.5.10.0170.07020.08
5.5.00.0100.07320.09
5.4.450.0170.07319.53
5.4.440.0070.08019.27
5.4.430.0030.08319.20
5.4.420.0100.04719.57
5.4.410.0130.07019.24
5.4.400.0030.08019.23
5.4.390.0130.07319.23
5.4.380.0100.07318.95
5.4.370.0070.08019.02
5.4.360.0170.06718.95
5.4.350.0030.04719.13
5.4.340.0100.04018.88
5.4.320.0100.05319.11
5.4.310.0070.08019.18
5.4.300.0030.07318.94
5.4.290.0070.07719.12
5.4.280.0130.07319.13
5.4.270.0130.07019.18
5.4.260.0070.05319.13
5.4.250.0100.03319.13
5.4.240.0030.04018.89
5.4.230.0000.06018.84
5.4.220.0070.07319.15
5.4.210.0100.03319.21
5.4.200.0030.06319.04
5.4.190.0070.07319.22
5.4.180.0030.07319.14
5.4.170.0070.07019.22
5.4.160.0030.03319.21
5.4.150.0070.07719.12
5.4.140.0130.07016.41
5.4.130.0100.04316.40
5.4.120.0070.07016.24
5.4.110.0000.04716.36
5.4.100.0030.07316.49
5.4.90.0070.06016.51
5.4.80.0030.06716.52
5.4.70.0070.05016.41
5.4.60.0000.05716.31
5.4.50.0070.04016.45
5.4.40.0030.04316.30
5.4.30.0130.06316.30
5.4.20.0170.05016.31
5.4.10.0030.06016.48
5.4.00.0100.07015.86
5.3.290.0130.05714.77
5.3.280.0070.03714.57
5.3.270.0000.08314.63
5.3.260.0100.07314.58
5.3.250.0030.07714.66
5.3.240.0030.06014.57
5.3.230.0100.05014.71
5.3.220.0100.06314.51
5.3.210.0070.07714.68
5.3.200.0070.04014.63
5.3.190.0070.07714.58
5.3.180.0070.07314.62
5.3.170.0100.05714.61
5.3.160.0030.06014.70
5.3.150.0030.07714.54
5.3.140.0030.05014.54
5.3.130.0030.04714.66
5.3.120.0100.07714.56
5.3.110.0030.08014.53
5.3.100.0100.04014.15
5.3.90.0070.06314.02
5.3.80.0070.06714.13
5.3.70.0100.07014.13
5.3.60.0000.05713.97
5.3.50.0070.06313.87
5.3.40.0070.05014.00
5.3.30.0030.07013.79
5.3.20.0100.05313.77
5.3.10.0030.04313.57
5.3.00.0000.06713.65
5.2.170.0170.05311.61
5.2.160.0100.02711.61
5.2.150.0030.06011.61
5.2.140.0130.04311.61
5.2.130.0030.06311.61
5.2.120.0000.04311.61
5.2.110.0030.04311.61
5.2.100.0000.06011.61
5.2.90.0000.04711.61
5.2.80.0100.05311.61
5.2.70.0000.06311.61
5.2.60.0030.05711.61
5.2.50.0100.06011.61
5.2.40.0030.03311.61
5.2.30.0000.06011.61
5.2.20.0030.04311.61
5.2.10.0070.05011.61
5.2.00.0130.05011.61
5.1.60.0000.04711.61
5.1.50.0100.03011.61
5.1.40.0070.02311.61
5.1.30.0030.05311.61
5.1.20.0130.04711.61
5.1.10.0070.02711.61
5.1.00.0030.05711.61
5.0.50.0100.04011.61
5.0.40.0000.04711.61
5.0.30.0000.05311.61
5.0.20.0000.03011.61
5.0.10.0030.04311.61
5.0.00.0000.06311.61
4.4.90.0070.01711.61
4.4.80.0000.02711.61
4.4.70.0000.03711.61
4.4.60.0100.02711.61
4.4.50.0030.03311.61
4.4.40.0030.05011.61
4.4.30.0000.03311.61
4.4.20.0000.03711.61
4.4.10.0100.02011.61
4.4.00.0000.05711.61
4.3.110.0030.01711.61
4.3.100.0070.03011.61
4.3.90.0030.03311.61
4.3.80.0030.05011.61
4.3.70.0070.03011.61
4.3.60.0000.03711.61
4.3.50.0030.01711.61
4.3.40.0030.05311.61
4.3.30.0000.03711.61
4.3.20.0030.02311.61
4.3.10.0000.03711.61
4.3.00.0000.02011.61

preferences:
64.05 ms | 401 KiB | 5 Q