- substr: documentation ( source)
- var_dump: documentation ( source)
- strtok: documentation ( source)
<?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'] ));