3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $key = 12345678901234; echo 'key=', $key, "\n"; function encode($id) { $part1 = strlen((string)$id); return $part1; } echo encode(3);
based on VosrV
Output for 4.3.0 - 7.2.0
key=12345678901234 1