3v4l.org

run code in 300+ PHP versions simultaneously
<?php class UserController { public $data; } $userControllerObject = new UserController; $exludedAction = [UserController::class => [ "login", "register" ] ]; $type = get_class($userControllerObject); $cl = array_key_exists($type, $exludedAction); var_dump($cl);

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.90.0030.00526.77
8.3.80.0060.00318.18
8.3.70.0130.00316.50
8.3.60.0100.00718.55
8.3.50.0130.00724.44
8.3.40.0070.01418.46
8.3.30.0110.00418.59
8.3.20.0040.00421.90
8.3.10.0070.00020.18
8.3.00.0040.00423.65
8.2.210.0070.00026.77
8.2.200.0040.00716.50
8.2.190.0070.01116.58
8.2.180.0070.00718.54
8.2.170.0070.00722.96
8.2.160.0070.00720.52
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0030.00626.16
8.2.120.0080.00026.16
8.2.110.0090.00022.29
8.2.100.0090.00317.91
8.2.90.0100.00018.22
8.2.80.0040.00419.16
8.2.70.0030.00517.63
8.2.60.0000.00817.93
8.2.50.0000.00818.05
8.2.40.0030.00617.90
8.2.30.0030.00618.05
8.2.20.0040.00418.09
8.2.10.0040.00419.28
8.2.00.0000.00719.21
8.1.290.0060.00618.88
8.1.280.0070.00725.92
8.1.270.0080.00022.66
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0030.00620.97
8.1.230.0070.00321.04
8.1.220.0000.00817.79
8.1.210.0040.00418.77
8.1.200.0050.00517.22
8.1.190.0050.00517.13
8.1.180.0030.00518.10
8.1.170.0020.00517.62
8.1.160.0000.00718.86
8.1.150.0030.00618.82
8.1.140.0070.00018.88
8.1.130.0000.00717.30
8.1.120.0000.00717.35
8.1.110.0020.00517.31
8.1.100.0000.00717.39
8.1.90.0040.00417.39
8.1.80.0050.00217.31
8.1.70.0000.00717.41
8.1.60.0080.00017.43
8.1.50.0040.00417.36
8.1.40.0060.00317.43
8.1.30.0000.00817.53
8.1.20.0000.00817.57
8.1.10.0040.00417.41
8.1.00.0090.00217.54
8.0.300.0000.00719.94
8.0.290.0020.00516.63
8.0.280.0030.00318.44
8.0.270.0030.00317.89
8.0.260.0000.00716.66
8.0.250.0070.00016.92
8.0.240.0000.00716.82
8.0.230.0030.00316.79
8.0.220.0060.00016.80
8.0.210.0000.00816.71
8.0.200.0050.00316.77
8.0.190.0040.00416.82
8.0.180.0000.00816.81
8.0.170.0050.00316.71
8.0.160.0040.00416.72
8.0.150.0050.00216.83
8.0.140.0040.00416.77
8.0.130.0030.00313.24
8.0.120.0040.00416.79
8.0.110.0080.00016.69
8.0.100.0040.00416.64
8.0.90.0030.00616.88
8.0.80.0070.01116.79
8.0.70.0040.00416.93
8.0.60.0050.00216.79
8.0.50.0040.00416.61
8.0.30.0200.00316.89
8.0.20.0070.01416.95
8.0.10.0000.00716.90
8.0.00.0070.01116.77
7.4.330.0000.00515.55
7.4.320.0030.00316.48
7.4.300.0000.00716.50
7.4.290.0000.00716.59
7.4.280.0050.00316.58
7.4.270.0030.00316.50
7.4.260.0030.00313.20
7.4.250.0000.00716.59
7.4.240.0060.00316.64
7.4.230.0070.00016.40
7.4.220.0050.00216.53
7.4.210.0090.00916.57
7.4.200.0070.00016.38
7.4.130.0100.00716.54
7.4.120.0090.00816.41
7.4.110.0060.01216.49
7.4.100.0040.01716.48
7.4.90.0130.00316.61
7.4.80.0070.01519.39
7.4.70.0100.00716.55
7.4.60.0090.00616.44
7.4.50.0140.00316.36
7.4.40.0080.01216.42
7.4.30.0050.01516.23
7.4.20.0070.01016.50
7.4.10.0070.01016.33
7.4.00.0030.01416.35
7.3.330.0050.00216.30
7.3.320.0000.00613.09
7.3.310.0000.00716.04
7.3.300.0040.00316.18
7.3.290.0080.00916.23
7.3.280.0030.01216.27
7.3.260.0150.00316.32
7.3.240.0110.00616.37
7.3.230.0030.01916.36
7.3.210.0100.00716.30
7.3.200.0060.00916.45
7.3.190.0120.00416.31
7.3.180.0120.00816.30
7.3.170.0060.00916.20
7.3.160.0130.00716.34
7.3.150.0100.00716.26
7.3.140.0070.01316.19
7.3.130.0100.00716.07
7.3.120.0120.00616.12
7.3.110.0110.01016.34
7.3.100.0100.01016.33
7.3.90.0130.00816.19
7.3.80.0130.00716.17
7.3.70.0060.01216.26
7.3.60.0030.01316.22
7.3.50.0130.00316.32
7.3.40.0140.00316.26
7.3.30.0030.01316.23
7.3.20.0070.01316.34
7.3.10.0220.00416.25
7.3.00.0070.01016.20
7.2.330.0160.00316.34
7.2.320.0130.00316.53
7.2.310.0030.01716.64
7.2.300.0160.00616.54
7.2.290.0000.01716.52
7.2.280.0070.01116.36
7.2.270.0150.00316.14
7.2.260.0100.01016.36
7.2.250.0120.00616.37
7.2.240.0090.00916.45
7.2.230.0060.01516.30
7.2.220.0140.00716.28
7.2.210.0120.00616.51
7.2.200.0060.01516.41
7.2.190.0100.00716.30
7.2.180.0110.00716.62
7.2.170.0100.00716.36
7.2.160.0070.01016.50
7.2.150.0120.01216.52
7.2.140.0210.02716.42
7.2.130.0090.00916.42
7.2.120.0040.01616.51
7.2.110.0090.00916.55
7.2.100.0100.01016.38
7.2.90.0120.00916.45
7.2.80.0140.00716.38
7.2.70.0140.01116.54
7.2.60.0200.00816.42
7.2.50.0060.01316.20
7.2.40.0090.00916.53
7.2.30.0090.00916.41
7.2.20.0070.01716.58
7.2.10.0230.01016.33
7.2.00.0150.00916.57

preferences:
28.03 ms | 401 KiB | 5 Q