Skip to content

Instantly share code, notes, and snippets.

@GuillaumeDievart
Created November 27, 2013 21:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GuillaumeDievart/7683829 to your computer and use it in GitHub Desktop.
Save GuillaumeDievart/7683829 to your computer and use it in GitHub Desktop.
The mock extension_loaded seems not be used
$this
->if($this->function->extension_loaded = false)
->then
->exception(function () { if (extension_loaded('mbstring') === false) { throw new exceptions\runtime('mbstring'); }})
;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment