3v4l.org

run code in 200+ 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 7.2.0
Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /in/XJcR3 on line 8 1 -> 1
Output for 4.3.0 - 7.1.10
1 -> 1