fix zend error message

I stupidly changed this without retesting. The message shouldn't have a newline in it.
Esse commit está contido em:
Paul Tarjan
2013-07-24 23:38:01 -07:00
commit de Sara Golemon
commit 647e3a7148
+1 -1
Ver Arquivo
@@ -69,7 +69,7 @@ class Phar extends RecursiveDirectoryIterator
$halt_token = "\n__HALT_COMPILER();";
$pos = strpos($data, $halt_token);
if ($pos === false) {
throw new PharException("$halt_token; must be declared in a phar");
throw new PharException("__HALT_COMPILER(); must be declared in a phar");
}
$this->stub = substr($data, 0, $pos);