3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $argument = "8BITMIME "; $verb = strtok( $argument, ' ' ); $arguments = substr( $argument, strlen( $verb ) + 1, strlen( $argument ) - strlen( $verb ) - 1 ); $_esmtp = array(); $_esmtp[$verb] = $arguments; var_dump($verb, $arguments, isset($_esmtp['8BITMIME'] ));
based on MEtBp
Output for 7.0.0 - 7.1.0
string(8) "8BITMIME" string(0) "" bool(true)
Output for 4.3.0 - 5.6.28, hhvm-3.12.0
string(8) "8BITMIME" bool(false) bool(true)
Output for hhvm-3.10.0

Process exited with code 153.