3v4l.org

run code in 500+ PHP versions simultaneously
<?php $prod_get_attr = "SELECT oca.product_id, pr.price, pr.image, pd.name FROM oc_product_attribute AS oca LEFT JOIN oc_product AS pr ON pr.product_id = oca.product_id LEFT JOIN oc_product_description AS pd ON pd.product_id = oca.product_id WHERE text IN ('" . $get_material_item . "') AND oca.product_id IN ( SELECT oca2.product_id FROM oc_product_attribute AS oca2 WHERE text IN ('" . $get_ves_item . "') ) GROUP BY oca.product_id"; // получаем id товаров, выбранных атрибутов Вес и материал $query_prod_get_attr = mysqli_query($dbh, $prod_get_attr); var_dump($query_prod_get_attr);
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $get_material_item in /in/vF8YV on line 3 Warning: Undefined variable $get_ves_item in /in/vF8YV on line 3 Fatal error: Uncaught Error: Call to undefined function mysqli_query() in /in/vF8YV:4 Stack trace: #0 {main} thrown in /in/vF8YV on line 4
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
48.57 ms | 1546 KiB | 4 Q