3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $key = "[[question(8)]]"; $questionID = preg_replace( '/[^0-9]/', '', $key ); print_r( $questionID );
Output for 4.3.0 - 7.3.0rc4
8