3v4l.org

run code in 300+ PHP versions simultaneously
<?php $col = new stdClass; $col->name = 'foo_bar'; $text = <<<MySQL This works perfectly fine: $col->name. See? MySQL; echo $text;
Output for 8.1.32, 8.2.26 - 8.2.29, 8.3.5 - 8.3.25, 8.4.1 - 8.4.12
This works perfectly fine: foo_bar. See?

preferences:
55.35 ms | 410 KiB | 6 Q