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.28, 8.4.1 - 8.4.16, 8.5.0 - 8.5.1
This works perfectly fine: foo_bar. See?

preferences:
101.84 ms | 406 KiB | 5 Q