- var_dump: documentation ( source)
- chr: documentation ( source)
<?php
/* this is interned as a literal string */
$literal = 'o';
/* ord is not called, it's optimized away */
$ord = ord('o');
/* chr is called and returns the interned string */
$chr = chr($ord);
var_dump($chr, is_literal($chr));