3v4l.org

run code in 300+ PHP versions simultaneously
<?php //select * from tbl_product where id IN(select product_id from tbl_vehicleproductequipments where (equipmentvalue_id = 1 OR equipmentvalue_id = 2 OR equipmentvalue_id = 3 OR equipmentvalue_id = 4) AND (equipmentvalue_id = 5 OR equipmentvalue_id = 6 OR equipmentvalue_id = 7) $arr = array( array(1, 2, 3, 4), array(5, 6, 7) ); echo $sql = 'select product_id from tbl_vehicleproductequipments where (equipmentvalue_id = '.implode(" OR equipmentvalue_id = ", $arr[0]).') AND (equipmentvalue_id = '.implode(" OR equipmentvalue_id = ", $arr[1]).")";

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.4.20.0120.00817.73
8.4.10.0060.00317.63
8.3.150.0060.01117.05
8.3.140.0000.00817.13
8.3.130.0030.00516.57
8.3.120.0000.00818.68
8.3.110.0030.00618.55
8.3.100.0050.00324.06
8.3.90.0060.00326.77
8.3.80.0040.00419.36
8.3.70.0160.00316.58
8.3.60.0120.00616.88
8.3.50.0100.01021.98
8.3.40.0070.00718.83
8.3.30.0040.01118.75
8.3.20.0070.00019.34
8.3.10.0040.00421.96
8.3.00.0030.00621.01
8.2.270.0130.00617.26
8.2.260.0100.01016.71
8.2.250.0080.00018.60
8.2.240.0060.00316.94
8.2.230.0120.00320.94
8.2.220.0060.00337.54
8.2.210.0060.00326.77
8.2.200.0060.00318.88
8.2.190.0060.01316.75
8.2.180.0210.00316.50
8.2.170.0080.00619.08
8.2.160.0080.00822.96
8.2.150.0030.00625.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00418.77
8.2.110.0090.00021.12
8.2.100.0000.01217.75
8.2.90.0030.00519.26
8.2.80.0040.00417.97
8.2.70.0060.00317.63
8.2.60.0050.00218.03
8.2.50.0040.00418.09
8.2.40.0030.00520.42
8.2.30.0040.00421.28
8.2.20.0030.00517.65
8.2.10.0040.00418.05
8.2.00.0050.00318.01
8.1.310.0100.00318.31
8.1.300.0150.00415.96
8.1.290.0090.00030.84
8.1.280.0090.01225.92
8.1.270.0060.00322.07
8.1.260.0050.00326.35
8.1.250.0000.00828.09
8.1.240.0090.00019.27
8.1.230.0090.00317.48
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0000.01117.23
8.1.190.0000.00817.22
8.1.180.0040.00418.10
8.1.170.0060.00318.64
8.1.160.0040.00420.88
8.1.150.0000.00718.95
8.1.140.0040.00419.51
8.1.130.0030.00317.70
8.1.120.0000.00717.46
8.1.110.0040.00417.45
8.1.100.0000.00817.43
8.1.90.0030.00317.46
8.1.80.0000.00817.41
8.1.70.0000.00717.44
8.1.60.0040.00417.62
8.1.50.0000.00817.43
8.1.40.0040.00417.39
8.1.30.0080.00017.52
8.1.20.0000.00817.66
8.1.10.0000.00817.57
8.1.00.0070.00017.51
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0030.00318.43
8.0.270.0030.00317.30
8.0.260.0000.00617.24
8.0.250.0000.00716.96
8.0.240.0000.00916.95
8.0.230.0060.00316.95
8.0.220.0070.00016.89
8.0.210.0000.00716.87
8.0.200.0040.00416.84
8.0.190.0050.00316.95
8.0.180.0000.00716.93
8.0.170.0050.00216.86
8.0.160.0040.00416.92
8.0.150.0000.01016.87
8.0.140.0040.00416.88
8.0.130.0030.00313.38
8.0.120.0080.00016.84
8.0.110.0070.00016.70
8.0.100.0000.00816.84
8.0.90.0040.00416.92
8.0.80.0070.01016.90
8.0.70.0080.00016.86
8.0.60.0030.00316.88
8.0.50.0000.00816.79
8.0.30.0110.00716.97
8.0.20.0110.00817.40
8.0.10.0040.00416.88
8.0.00.0060.01216.72
7.4.330.0000.00415.08
7.4.320.0040.00416.65
7.4.300.0000.00616.50
7.4.290.0030.00316.50
7.4.280.0050.00316.49
7.4.270.0000.00716.57
7.4.260.0050.00516.58
7.4.250.0070.00016.42
7.4.240.0040.00416.55
7.4.230.0030.00316.27
7.4.220.0300.01416.40
7.4.210.0090.00616.50
7.4.200.0030.00316.54
7.4.160.0120.00316.64
7.4.150.0110.00717.40
7.4.140.0130.00817.86
7.4.130.0070.01016.45
7.4.120.0080.01016.48
7.4.110.0060.01316.47
7.4.100.0080.00816.47
7.4.90.0060.01016.36
7.4.80.0060.01319.39
7.4.70.0070.01016.63
7.4.60.0110.00816.38
7.4.50.0030.01016.55
7.4.40.0130.00316.56
7.4.30.0090.01016.36
7.4.00.0070.00914.88
7.3.330.0030.00313.08
7.3.320.0050.00013.11
7.3.310.0040.00416.14
7.3.300.0030.00316.32
7.3.290.0040.00416.11
7.3.280.0060.00816.23
7.3.270.0100.00617.40
7.3.260.0120.00516.34
7.3.250.0120.00816.27
7.3.240.0100.00716.36
7.3.230.0130.00316.39
7.3.210.0080.00816.48
7.3.200.0000.01616.36
7.3.190.0060.00916.45
7.3.180.0060.00916.47
7.3.170.0120.00516.33
7.3.160.0090.00916.60
7.3.120.0070.00714.65
7.3.110.0150.00314.99
7.3.100.0000.01314.85
7.3.90.0040.01215.04
7.3.80.0040.01214.57
7.3.70.0000.00914.80
7.3.60.0040.01114.92
7.3.50.0000.01114.68
7.3.40.0000.01114.63
7.3.30.0090.00614.71
7.3.20.0030.01016.73
7.3.10.0090.00616.68
7.3.00.0060.00816.65
7.2.330.0100.00716.39
7.2.320.0130.00316.38
7.2.310.0060.01016.57
7.2.300.0110.00616.54
7.2.290.0040.01416.68
7.2.250.0060.01315.21
7.2.240.0060.01315.01
7.2.230.0060.00915.14
7.2.220.0090.00615.04
7.2.210.0060.01014.92
7.2.200.0070.01114.98
7.2.190.0060.01015.14
7.2.180.0030.00914.97
7.2.170.0030.00914.79
7.2.130.0080.01116.99
7.2.120.0040.01117.04
7.2.110.0000.01216.94
7.2.100.0040.01116.93
7.2.90.0040.01116.94
7.2.80.0090.00916.89
7.2.70.0000.01016.66
7.2.60.0050.00717.03
7.2.50.0080.00616.98
7.2.40.0060.00916.93
7.2.30.0060.00917.05
7.2.20.0040.01116.95
7.2.10.0100.00016.55
7.2.00.0060.01018.10
7.1.330.0070.00815.88
7.1.320.0070.00715.79
7.1.310.0060.00615.77
7.1.300.0060.00315.79
7.1.290.0030.00615.64
7.1.280.0090.00315.71
7.1.270.0060.00915.61
7.1.260.0040.01115.71
7.1.250.0040.00415.69
7.1.240.0030.01315.72
7.1.230.0000.01415.78
7.1.220.0000.01515.48
7.1.210.0100.00315.82
7.1.200.0060.00615.70
7.1.190.0070.01015.98
7.1.180.0100.00315.76
7.1.170.0150.00015.60
7.1.160.0060.00315.77
7.1.150.0000.00915.89
7.1.140.0130.00015.92
7.1.130.0030.01015.50
7.1.120.0030.00715.67
7.1.110.0090.00315.63
7.1.100.0010.00916.98
7.1.90.0080.00415.60
7.1.80.0040.00715.83
7.1.70.0080.00516.31
7.1.60.0050.01117.85
7.1.50.0030.00615.77
7.1.40.0080.00615.72
7.1.30.0060.01115.64
7.1.20.0030.01015.59
7.1.10.0040.00815.70
7.1.00.0090.03819.09
7.0.330.0000.01015.34
7.0.320.0060.00615.43
7.0.310.0000.01215.17
7.0.300.0060.00615.44
7.0.290.0030.01115.51
7.0.280.0080.00314.98
7.0.270.0000.01415.38
7.0.260.0060.00615.36
7.0.250.0040.00415.31
7.0.240.0110.00715.38
7.0.230.0030.01015.49
7.0.220.0000.01415.30
7.0.210.0070.00715.51
7.0.200.0040.00715.99
7.0.190.0060.00615.11
7.0.180.0070.00715.57
7.0.170.0030.01215.41
7.0.160.0040.00715.31
7.0.150.0070.00715.13
7.0.140.0070.00715.36
7.0.130.0070.01015.40
7.0.120.0000.01214.91
7.0.110.0000.01115.00
7.0.100.0120.00615.27
7.0.90.0030.00615.44
7.0.80.0030.01015.41
7.0.70.0080.00015.56
7.0.60.0430.00317.74
7.0.50.0380.00517.93
7.0.40.0630.00316.83
7.0.30.0540.00416.96
7.0.20.0500.00516.70
7.0.10.0430.00516.91
7.0.00.0400.00516.91
5.6.380.0070.00714.27
5.6.370.0090.00014.24
5.6.360.0070.00714.54
5.6.350.0100.00614.20
5.6.340.0040.00414.60
5.6.330.0030.00914.21
5.6.320.0030.01014.26
5.6.310.0080.00814.25
5.6.300.0030.01414.23
5.6.290.0040.00814.29
5.6.280.0030.04017.59
5.6.270.0060.00614.48
5.6.260.0000.01414.48
5.6.250.0070.00714.31
5.6.240.0030.00914.19
5.6.230.0060.00314.10
5.6.220.0030.01014.39
5.6.210.0500.00417.39
5.6.200.0520.00317.65
5.6.190.0630.00017.69
5.6.180.0600.00017.79
5.6.170.0550.00317.74
5.6.160.0450.00317.73
5.6.150.0420.00617.63
5.6.140.0540.00217.71
5.6.130.0590.00217.68
5.6.120.0580.00217.59
5.6.110.0690.00017.54
5.6.100.0520.00317.70
5.6.90.0700.00417.53
5.6.80.0470.00217.29
5.6.70.0520.00717.35
5.6.60.0410.00217.38
5.6.50.0500.00117.42
5.6.40.0470.00717.32
5.6.30.0420.00217.38
5.6.20.0380.00317.36
5.6.10.0400.00217.38
5.6.00.0420.00417.42
5.5.380.0000.01111.18
5.5.370.0060.00611.18
5.5.360.0000.01211.23
5.5.350.0600.00015.78
5.5.340.0450.00316.12
5.5.330.0480.00416.02
5.5.320.0610.00316.10
5.5.310.0550.00216.00
5.5.300.0560.00016.03
5.5.290.0500.00316.08
5.5.280.0700.00316.00
5.5.270.0550.00316.01
5.5.260.0600.00316.02
5.5.250.0530.00415.97
5.5.240.0500.00315.78
5.5.230.0470.00215.63
5.5.220.0450.00415.66
5.5.210.0400.00415.78
5.5.200.0510.00115.69
5.5.190.0420.00215.77
5.5.180.0380.00415.78
5.5.170.0120.00011.18
5.5.160.0370.00615.70
5.5.150.0470.00115.70
5.5.140.0400.00215.68
5.5.130.0500.00215.68
5.5.120.0390.00015.70
5.5.110.0400.00215.67
5.5.100.0410.00115.68
5.5.90.0420.00015.56
5.5.80.0350.00415.65
5.5.70.0410.00015.67
5.5.60.0330.00615.63
5.5.50.0400.00315.71
5.5.40.0380.00215.63
5.5.30.0400.00215.62
5.5.20.0420.00415.70
5.5.10.0480.00215.62
5.5.00.0430.00015.62

preferences:
74.25 ms | 403 KiB | 5 Q