3v4l.org - online PHP & HHVM shell, execute code in 100+ different versions!

based on l1mKH
Output for 4.3.1 - 5.5.1
100010 -> 110 (expected: 110) 010200 -> 1200 (expected: 1200) 01110 -> 1110 (expected: 1110)