3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "INSERT INTO active (inv_n, name_act, id_cat, ed_izm, quantity, price, id_dep, comments, id_stat) VALUES('".$inv_n."','".$name_act."','".$id_cat"','".$ed_izm"','".$quantity"','".$price"','".$ed_dep"','".$comments"','".$id_stat"');";
Output for 8.0.0 - 8.0.3
Parse error: syntax error, unexpected double-quoted string "','", expecting "," or ";" in /in/aSsCQ on line 3
Process exited with code 255.
Output for 7.4.0 - 7.4.16
Parse error: syntax error, unexpected '"','"' (T_CONSTANT_ENCAPSED_STRING), expecting ';' or ',' in /in/aSsCQ on line 3
Process exited with code 255.
Output for 7.3.0 - 7.3.28
Parse error: syntax error, unexpected '"','"' (T_CONSTANT_ENCAPSED_STRING), expecting ',' or ';' in /in/aSsCQ on line 3
Process exited with code 255.

preferences:
148.16 ms | 1294 KiB | 6 Q