3v4l.org

run code in 500+ PHP versions simultaneously
<?php $field_a = "field_a"; $field_b = "field_b"; echo '<tr><td>' . $field_a . '</td><td>' . $field_b '</td></tr>' . PHP_EOL;
Output for 8.3.5
Parse error: syntax error, unexpected single-quoted string "</td></tr>", expecting "," or ";" in /in/AP1Fc on line 6
Process exited with code 255.
Output for 5.4.0 - 5.4.27
Parse error: syntax error, unexpected ''</td></tr>'' (T_CONSTANT_ENCAPSED_STRING), expecting ',' or ';' in /in/AP1Fc on line 6
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in /in/AP1Fc on line 6
Process exited with code 255.

preferences:
51.64 ms | 717 KiB | 3 Q