Skip to content

Commit

Permalink
Fix variable name mistake when supporting HHVM
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelMarcey authored and cweiske committed Nov 19, 2013
1 parent 929536a commit a37cf91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/PEAR_Command_Registry/info/test_fail.phpt
Expand Up @@ -20,7 +20,7 @@ $phpunit->assertErrors(array(
touch($temp_path . DIRECTORY_SEPARATOR . 'smong.xml');
$e = $command->run('info', array(), array($temp_path . DIRECTORY_SEPARATOR . 'smong.xml'));
if (defined("HHVM_VERSION")) {
$errmsg = 'no element found';
$err = 'no element found';
} else if (version_compare(phpversion(), '5.0.0', '>=')) {
if (version_compare(phpversion(), '5.0.3', '>=')) {
$err = 'Invalid document end';
Expand Down

0 comments on commit a37cf91

Please sign in to comment.