3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a="1N2986B M4S011N2986B 000000001100000000000000000000000000001000000000000000000000000000000Y"; $c = intval(substr($a, 76, 10)); //echo $c; $pack = intval(substr($a, 86, 9)); echo $pack; ?>
Output for 4.3.0 - 7.3.0rc4
1