3v4l.org

run code in 300+ PHP versions simultaneously
<?php $where = array( 'user.is_removed' => 0, 'activation_code IS NULL' => NULL); if( true ) { $where = array_merge($where, array( '(user_role.role_id != 1 OR user_role.role_id IS NULL) AND (user_role.parent_role_id != 1 OR user_role.parent_role_id IS NULL)' => NULL )); } // Members should not be able to PM to observers as well if (true) { $where = array_merge($where, array( '(user_role.role_id != 3 OR user_role.parent_role_id != 3)' => null )); } var_dump($where);

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.0120.00318.67
8.3.30.0100.00318.96
8.3.20.0020.00520.29
8.3.10.0030.00523.53
8.3.00.0040.00419.05
8.2.170.0060.00922.96
8.2.160.0040.01120.38
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0080.00026.16
8.2.120.0030.01219.52
8.2.110.0070.00322.26
8.2.100.0040.00817.91
8.2.90.0080.00017.75
8.2.80.0040.00417.97
8.2.70.0060.00317.80
8.2.60.0040.00418.16
8.2.50.0040.00418.10
8.2.40.0040.00419.05
8.2.30.0040.00419.25
8.2.20.0040.00417.62
8.2.10.0050.00218.06
8.2.00.0000.00817.73
8.1.270.0090.00018.74
8.1.260.0080.00026.35
8.1.250.0050.00328.09
8.1.240.0060.00323.84
8.1.230.0040.00719.22
8.1.220.0000.00817.76
8.1.210.0030.00618.77
8.1.200.0060.00317.36
8.1.190.0030.00517.23
8.1.180.0060.00318.10
8.1.170.0050.00318.46
8.1.160.0000.00718.88
8.1.150.0020.00518.86
8.1.140.0030.00617.31
8.1.130.0030.00317.73
8.1.120.0000.00817.34
8.1.110.0050.00217.28
8.1.100.0000.00717.38
8.1.90.0000.00717.28
8.1.80.0040.00717.41
8.1.70.0030.00317.28
8.1.60.0080.00017.45
8.1.50.0040.00417.38
8.1.40.0030.00617.36
8.1.30.0000.00917.60
8.1.20.0030.00517.54
8.1.10.0030.00517.36
8.1.00.0040.00417.38
8.0.300.0040.00419.64
8.0.290.0080.00016.75
8.0.280.0040.00418.45
8.0.270.0040.00217.24
8.0.260.0000.00617.23
8.0.250.0040.00416.92
8.0.240.0000.00717.02
8.0.230.0070.00017.00
8.0.220.0000.00716.93
8.0.210.0000.00716.77
8.0.200.0070.00016.87
8.0.190.0080.00016.86
8.0.180.0000.01116.88
8.0.170.0040.00416.96
8.0.160.0030.00516.90
8.0.150.0040.00416.80
8.0.140.0040.00416.70
8.0.130.0030.00313.32
8.0.120.0050.00316.84
8.0.110.0040.00416.85
8.0.100.0040.00416.93
8.0.90.0020.00516.80
8.0.80.0100.00716.89
8.0.70.0050.00316.82
8.0.60.0040.00416.73
8.0.50.0000.00816.93
8.0.30.0100.00816.87
8.0.20.0150.00917.40
8.0.10.0000.00717.08
8.0.00.0060.01316.76
7.4.330.0000.00515.08
7.4.320.0040.00416.30
7.4.300.0060.00016.41
7.4.290.0000.00816.45
7.4.280.0040.00416.44
7.4.270.0070.00016.43
7.4.260.0000.00916.55
7.4.250.0000.00716.54
7.4.240.0020.00516.52
7.4.230.0040.00416.24
7.4.220.0090.01316.41
7.4.210.0040.01116.63
7.4.200.0000.00716.20
7.4.160.0040.01216.33
7.4.150.0170.00017.40
7.4.140.0100.00917.86
7.4.130.0070.00916.51
7.4.120.0070.01016.46
7.4.110.0140.01116.66
7.4.100.0090.00916.48
7.4.90.0130.00416.40
7.4.80.0160.00519.39
7.4.70.0070.01116.42
7.4.60.0150.00316.63
7.4.50.0060.00316.46
7.4.40.0080.01216.52
7.4.30.0130.00316.34
7.4.00.0030.01314.91
7.3.330.0000.00613.05
7.3.320.0000.00513.03
7.3.310.0050.00216.14
7.3.300.0040.00416.16
7.3.290.0080.00616.17
7.3.280.0110.01016.24
7.3.270.0080.00817.40
7.3.260.0150.00316.41
7.3.250.0150.00716.21
7.3.240.0130.00316.19
7.3.230.0060.01216.48
7.3.210.0100.00616.21
7.3.200.0120.00619.39
7.3.190.0060.00916.47
7.3.180.0070.01416.17
7.3.170.0040.01316.27
7.3.160.0040.01216.31
7.3.10.0090.00316.41
7.3.00.0030.01216.21
7.2.330.0150.00316.54
7.2.320.0040.01316.33
7.2.310.0000.02116.56
7.2.300.0060.01016.37
7.2.290.0150.00916.66
7.2.130.0000.00916.73
7.2.120.0070.00716.91
7.2.110.0040.00816.70
7.2.100.0090.00016.80
7.2.90.0030.01016.92
7.2.80.0030.00616.50
7.2.70.0140.00316.96
7.2.60.0140.00016.60
7.2.50.0070.00716.82
7.2.40.0030.01016.65
7.2.30.0040.00916.87
7.2.20.0060.00916.52
7.2.10.0070.00416.86
7.2.00.0020.01118.01
7.1.250.0100.00315.88
7.1.100.0080.00617.85
7.1.70.0130.00316.96
7.1.60.0090.01619.22
7.1.50.0080.00616.87
7.1.00.0030.07722.45
7.0.200.0000.00716.74
7.0.140.0000.07722.09
7.0.60.0100.08020.03
7.0.50.0030.04017.80
7.0.40.0130.03320.24
7.0.30.0330.06320.00
7.0.20.0330.07720.23
7.0.10.0100.04320.16
7.0.00.0070.04320.16
5.6.280.0070.07020.85
5.6.210.0100.07020.50
5.6.200.0100.07318.09
5.6.190.0200.07320.61
5.6.180.0370.06020.36
5.6.170.0230.06320.47
5.6.160.0130.07720.61
5.6.150.0070.03718.16
5.6.140.0100.07018.11
5.6.130.0030.04018.12
5.6.120.0100.06721.14
5.6.110.0000.08721.11
5.6.100.0070.06721.09
5.6.90.0070.06721.01
5.6.80.0170.05020.52
5.5.350.0230.03320.34
5.5.340.0130.06017.98
5.5.330.0030.09320.37
5.5.320.0330.07720.20
5.5.310.0370.05020.26
5.5.300.0130.07317.98
5.5.290.0000.04317.95
5.5.280.0030.04320.65
5.5.270.0030.04320.73
5.5.260.0070.05320.76
5.5.250.0070.07720.68
5.5.240.0070.08020.03
5.4.450.0830.06319.45
5.4.440.0800.06019.47
5.4.430.0600.05719.55
5.4.420.0730.07019.27
5.4.410.0500.05319.20
5.4.400.0700.06019.31
5.4.390.0730.06018.80
5.4.380.0230.07318.57
5.4.370.0130.06018.70
5.4.360.0200.05318.64
5.4.350.0230.05018.52
5.4.340.0330.05718.50
5.4.320.0170.06718.55
5.4.310.0230.05018.49
5.4.300.0270.06018.57
5.4.290.0300.04318.68
5.4.280.0200.05318.67
5.4.270.0200.05018.60
5.4.260.0200.05318.62
5.4.250.0230.05018.49
5.4.240.0170.05718.59
5.4.230.0170.05718.59
5.4.220.0130.06018.66
5.4.210.0200.05018.68
5.4.200.0200.05016.48
5.4.190.0170.07318.68
5.4.180.0270.04318.62
5.4.170.0270.05718.48
5.4.160.0300.04718.48
5.4.150.0270.07018.67
5.4.140.0200.05316.05
5.4.130.0170.05316.16
5.4.120.0230.06016.34
5.4.110.0170.05316.25
5.4.100.0270.04716.32
5.4.90.0170.05716.29
5.4.80.0200.05016.24
5.4.70.0500.04316.19
5.4.60.0200.05016.00
5.4.50.0100.05716.05
5.4.40.0200.05016.01
5.4.30.0130.06716.29
5.4.20.0230.04716.09
5.4.10.0200.05016.22
5.4.00.0100.05715.53
5.3.290.0330.04014.66
5.3.280.0370.03314.69
5.3.270.0100.06314.68
5.3.260.0270.05014.57
5.3.250.0200.05714.50
5.3.240.0330.03714.58
5.3.230.0100.06014.65
5.3.220.0130.06014.63
5.3.210.0200.05314.51
5.3.200.0230.04314.46
5.3.190.0270.04314.66
5.3.180.0400.03314.55
5.3.170.0230.04714.45
5.3.160.0230.04714.55
5.3.150.0170.05714.51
5.3.140.0170.05314.46
5.3.130.0130.05714.59
5.3.120.0230.04714.50
5.3.110.0200.05014.54
5.3.100.0130.05714.05
5.3.90.0130.05714.01
5.3.80.0170.05013.94
5.3.70.0200.04714.00
5.3.60.0170.05313.98
5.3.50.0230.05314.02
5.3.40.0230.04313.86
5.3.30.0170.05313.82
5.3.20.0100.06013.62
5.3.10.0200.04713.65
5.3.00.0230.04713.53
5.2.170.0100.04711.17
5.2.160.0130.04011.18
5.2.150.0130.04311.09
5.2.140.0170.03711.20
5.2.130.0130.04011.27
5.2.120.0100.04311.05
5.2.110.0200.03711.09
5.2.100.0170.04011.09
5.2.90.0100.05011.14
5.2.80.0130.04311.10
5.2.70.0170.04311.07
5.2.60.0130.04711.02
5.2.50.0130.05011.07
5.2.40.0170.05310.90
5.2.30.0130.04710.98
5.2.20.0130.04010.87
5.2.10.0100.04710.86
5.2.00.0170.04710.67
5.1.60.0130.03310.05
5.1.50.0100.04010.03
5.1.40.0100.03710.01
5.1.30.0170.03310.43
5.1.20.0000.05010.41
5.1.10.0100.03710.14
5.1.00.0100.04010.18
5.0.50.0170.0208.66
5.0.40.0070.0308.45
5.0.30.0170.0378.24
5.0.20.0130.0238.21
5.0.10.0100.0408.37
5.0.00.0070.0478.19
4.4.90.0100.0236.82
4.4.80.0100.0236.82
4.4.70.0070.0206.82
4.4.60.0100.0206.82
4.4.50.0030.0236.82
4.4.40.0100.0336.82
4.4.30.0030.0236.82
4.4.20.0130.0176.82
4.4.10.0030.0236.82
4.4.00.0130.0336.82
4.3.110.0030.0236.82
4.3.100.0030.0236.82
4.3.90.0070.0206.82
4.3.80.0130.0276.82
4.3.70.0100.0176.82
4.3.60.0100.0176.82
4.3.50.0000.0306.82
4.3.40.0100.0306.82
4.3.30.0070.0236.82
4.3.20.0070.0206.82
4.3.10.0070.0206.82
4.3.00.0100.0207.61

preferences:
49.52 ms | 400 KiB | 5 Q