3v4l.org

run code in 300+ PHP versions simultaneously
<?php $objQueryConditions = array( "columns" => array ( [0] => user_id ), "where" => array ( ), "order_by" => array ( ), "limit" => array ( 0 => 0, 1 => 100 ), ); if (!array_key_exists("columns", $objQueryConditions) || !array_key_exists("where", $objQueryConditions) || !array_key_exists("order by", $objQueryConditions) || !array_key_exists("limit", $objQueryConditions) ) echo "yes";

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.0120.00918.53
8.3.60.0120.00318.55
8.3.50.0130.00921.22
8.3.40.0120.00318.81
8.3.30.0110.00418.61
8.3.20.0000.00822.14
8.3.10.0040.00423.61
8.3.00.0070.00022.46
8.2.180.0100.01016.50
8.2.170.0070.00722.96
8.2.160.0100.01020.48
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0060.00317.63
8.2.110.0110.00020.38
8.2.100.0090.00317.63
8.2.90.0000.00719.17
8.2.80.0000.00817.97
8.2.70.0050.00317.63
8.2.60.0080.00017.92
8.2.50.0000.00818.07
8.2.40.0030.00621.08
8.2.30.0000.00918.19
8.2.20.0070.00017.62
8.2.10.0040.00417.97
8.2.00.0000.00817.97
8.1.280.0100.01025.92
8.1.270.0080.00020.39
8.1.260.0060.00326.35
8.1.250.0050.00228.09
8.1.240.0030.00723.79
8.1.230.0130.00017.42
8.1.220.0040.00417.80
8.1.210.0030.00618.77
8.1.200.0040.00417.23
8.1.190.0040.00417.11
8.1.180.0050.00318.10
8.1.170.0070.00318.36
8.1.160.0000.00722.06
8.1.150.0040.00418.83
8.1.140.0040.00417.33
8.1.130.0000.00717.62
8.1.120.0040.00417.44
8.1.110.0040.00417.37
8.1.100.0070.00017.43
8.1.90.0040.00417.42
8.1.80.0040.00417.40
8.1.70.0040.00417.38
8.1.60.0040.00417.39
8.1.50.0030.00617.31
8.1.40.0040.00417.43
8.1.30.0050.00317.45
8.1.20.0070.00017.57
8.1.10.0040.00417.40
8.1.00.0030.00517.42
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0000.00718.37
8.0.270.0040.00417.25
8.0.260.0030.00317.25
8.0.250.0000.00817.05
8.0.240.0060.00316.90
8.0.230.0040.00416.86
8.0.220.0030.00316.96
8.0.210.0000.00716.97
8.0.200.0030.00316.98
8.0.190.0080.00316.89
8.0.180.0000.00716.94
8.0.170.0000.00816.98
8.0.160.0000.00816.90
8.0.150.0070.00016.88
8.0.140.0000.00816.92
8.0.130.0060.00013.33
8.0.120.0040.00416.91
8.0.110.0040.00416.92
8.0.100.0070.00016.76
8.0.90.0050.00316.75
8.0.80.0130.01016.98
8.0.70.0050.00316.92
8.0.60.0000.00716.96
8.0.50.0030.00516.84
8.0.30.0130.00717.06
8.0.20.0140.00517.40
8.0.10.0000.00716.85
8.0.00.0080.00916.79
7.4.330.0000.00515.10
7.4.320.0000.00616.48
7.4.300.0000.00616.47
7.4.290.0000.00816.61
7.4.280.0070.00016.40
7.4.270.0000.00716.63
7.4.260.0030.00316.57
7.4.250.0040.00416.54
7.4.240.0030.00516.52
7.4.230.0000.00716.56
7.4.220.0030.01416.52
7.4.210.0040.01216.66
7.4.200.0000.00816.49
7.4.160.0110.00516.50
7.4.150.0080.00917.40
7.4.140.0060.01217.86
7.4.130.0150.00716.57
7.4.120.0140.00516.66
7.4.110.0100.00716.52
7.4.100.0030.01316.39
7.4.90.0070.01016.52
7.4.80.0110.01119.39
7.4.70.0130.00716.48
7.4.60.0130.00916.39
7.4.50.0020.00216.35
7.4.40.0030.01316.43
7.4.30.0050.00816.69
7.4.00.0060.00915.05
7.3.330.0030.00313.14
7.3.320.0000.00513.16
7.3.310.0000.00716.03
7.3.300.0000.00716.17
7.3.290.0080.01016.23
7.3.280.0110.00716.27
7.3.270.0070.01117.40
7.3.260.0070.01116.26
7.3.250.0100.00716.38
7.3.240.0110.00716.52
7.3.230.0090.01516.39
7.3.210.0100.00716.52
7.3.200.0100.01019.39
7.3.190.0110.00316.47
7.3.180.0030.01216.45
7.3.170.0100.00716.38
7.3.160.0130.00316.43
7.3.10.0000.01416.35
7.3.00.0030.00716.48
7.2.330.0030.01416.65
7.2.320.0090.00916.35
7.2.310.0060.01016.38
7.2.300.0030.01416.26
7.2.290.0110.00716.41
7.2.130.0160.00016.59
7.2.120.0060.01116.69
7.2.110.0130.00516.47
7.2.100.0120.00516.58
7.2.90.0060.01316.57
7.2.80.0110.00816.56
7.2.70.0110.00916.65
7.2.60.0090.00716.59
7.2.50.0150.00916.57
7.2.40.0120.00816.83
7.2.30.0110.01016.81
7.2.20.0130.00916.96
7.2.10.0160.00716.75
7.2.00.0120.00517.55
7.1.250.0060.00915.24
7.1.230.0150.00215.95
7.1.220.0170.00315.71
7.1.210.0350.00415.73
7.1.200.0030.00815.61
7.1.190.0170.00315.49
7.1.180.0060.01015.66
7.1.170.0070.01115.43
7.1.160.0240.01215.71
7.1.150.0150.00415.55
7.1.140.0060.01015.56
7.1.130.0090.00615.57
7.1.120.0110.00315.76
7.1.110.0040.01315.50
7.1.100.0080.00316.78
7.1.90.0130.00315.68
7.1.80.0080.00815.97
7.1.70.0080.00416.24
7.1.60.0130.00717.93
7.1.50.0210.00825.24
7.1.40.0070.01015.97
7.1.30.0090.01015.92
7.1.20.0090.01215.64
7.1.10.0110.00415.60
7.1.00.0110.03319.02
7.0.310.0080.00815.39
7.0.300.0510.00315.19
7.0.290.0200.00315.24
7.0.280.0170.00315.05
7.0.270.0110.00315.04
7.0.260.0070.00615.28
7.0.250.0150.00315.35
7.0.240.0160.00615.02
7.0.230.0290.00715.19
7.0.220.0180.00015.17
7.0.210.0110.00415.33
7.0.200.0170.00515.00
7.0.190.0070.00715.34
7.0.180.0050.01015.43
7.0.170.0090.00515.23
7.0.160.0110.00414.99
7.0.150.0090.00615.27
7.0.140.0120.00515.39
7.0.130.0140.00415.46
7.0.120.0080.00815.52
7.0.110.0910.00015.43
7.0.100.0040.01115.38
7.0.90.0590.00715.44
7.0.80.0080.00815.52
7.0.70.0130.00415.36
7.0.60.0110.04217.61
7.0.50.0090.03216.61
7.0.40.0070.02316.59
7.0.30.0360.02416.79
7.0.20.0170.04416.75
7.0.10.0130.03016.87
7.0.00.0090.03016.74
5.6.380.0110.00414.30
5.6.370.0060.00714.31
5.6.360.0170.00314.03
5.6.350.0100.00314.27
5.6.340.0070.01014.57
5.6.330.0080.00614.08
5.6.320.0130.00414.34
5.6.310.0120.00314.61
5.6.300.0070.00714.62
5.6.290.0150.00414.41
5.6.280.0080.03217.60
5.6.270.0110.00814.21
5.6.260.0080.00814.20
5.6.250.0040.00914.18
5.6.240.0030.01214.26
5.6.230.0140.00414.16
5.6.220.0100.00614.43
5.6.210.0070.02417.46
5.6.200.0110.04016.10
5.6.190.0100.04117.35
5.6.180.0140.04317.25
5.6.170.0240.02417.41
5.6.160.0020.04817.24
5.6.150.0120.02516.29
5.6.140.0120.04116.27
5.6.130.0080.02216.18
5.6.120.0060.03017.74
5.6.110.0090.04817.67
5.6.100.0100.04217.64
5.6.90.0100.02717.54
5.6.80.0070.01817.35
5.6.70.0030.01413.95
5.6.60.0060.00614.46
5.6.50.0040.00714.09
5.6.40.0080.00414.41
5.6.30.0100.00714.35
5.6.20.0040.00814.29
5.6.10.0110.00414.10
5.6.00.0040.01113.91
5.5.380.0050.00312.79
5.5.370.0120.00312.79
5.5.360.0070.00712.79
5.5.350.0090.04116.60
5.5.340.0110.03015.33
5.5.330.0120.03316.47
5.5.320.0210.03916.51
5.5.310.0200.04216.54
5.5.300.0080.02515.39
5.5.290.0070.02215.32
5.5.280.0140.02516.73
5.5.270.0080.02716.82
5.5.260.0070.02216.71
5.5.250.0080.03816.66
5.5.240.0060.03516.53
5.5.230.0090.00412.79
5.5.220.0050.00512.79
5.5.210.0110.00012.79
5.5.200.0090.00312.79
5.5.190.0030.00712.79
5.5.180.0080.00412.79
5.5.170.0120.00314.23
5.5.160.0070.00312.79
5.5.150.0080.00312.79
5.5.140.0080.00412.79
5.5.130.0110.00012.79
5.5.120.0100.00012.79
5.5.110.0110.00312.79
5.5.100.0070.00712.79
5.5.90.0070.00312.79
5.5.80.0080.00812.79
5.5.70.0090.00312.79
5.5.60.0080.00012.79
5.5.50.0110.00012.79
5.5.40.0110.00012.79
5.5.30.0140.00012.79
5.5.20.0080.00412.79
5.5.10.0060.00312.79
5.5.00.0070.00412.79
5.4.450.0170.04216.19
5.4.440.0130.02415.96
5.4.430.0170.03916.02
5.4.420.0170.03316.13
5.4.410.0190.03916.03
5.4.400.0240.03215.98
5.4.390.0170.04315.97
5.4.380.0150.04015.93
5.4.370.0200.02215.94
5.4.360.0220.03515.94
5.4.350.0230.02715.79
5.4.340.0160.03915.96
5.4.330.0100.00012.79
5.4.320.0150.04116.00
5.4.310.0200.03015.86
5.4.300.0210.03515.80
5.4.290.0170.02515.80
5.4.280.0200.03015.92
5.4.270.0220.03815.86
5.4.260.0200.03515.86
5.4.250.0220.03216.00
5.4.240.0160.02615.85
5.4.230.0210.03315.83
5.4.220.0170.02915.92
5.4.210.0170.02515.94
5.4.200.0190.03215.84
5.4.190.0180.03515.93
5.4.180.0200.03515.78
5.4.170.0210.03515.93
5.4.160.0170.02516.01
5.4.150.0190.03715.82
5.4.140.0200.03014.54
5.4.130.0150.02714.57
5.4.120.0230.03014.62
5.4.110.0220.03314.55
5.4.100.0150.03014.61
5.4.90.0180.03314.61
5.4.80.0160.02614.63
5.4.70.0170.03814.60
5.4.60.0090.00612.79
5.4.50.0050.00512.79
5.4.40.0070.00712.79
5.4.30.0070.00212.79
5.4.20.0070.00312.79
5.4.10.0110.00012.79
5.4.00.0030.00912.79

preferences:
68.01 ms | 401 KiB | 5 Q