3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $data = array( 10, 123 ); $buf = pack( "N*", $data ); $valArray = unpack( "N*", $buf ); while( list( $key, $val ) = each( $valArray ) ) { echo "$key -> $val\n"; }
Output for 4.3.0 - 7.1.0
1 -> 1