-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Update run_001.phpt #2913
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update run_001.phpt #2913
Conversation
update test to avoid that it freezes the test suite
sapi/phpdbg/tests/run_001.phpt
Outdated
@@ -52,5 +52,7 @@ prompt> | |||
1 2 3 | |||
--FILE-- | |||
<?php | |||
|
|||
if is_null($argc) || is_null($argv) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Syntax error. :(
sapi/phpdbg/tests/run_001.phpt
Outdated
@@ -52,5 +52,7 @@ prompt> | |||
1 2 3 | |||
--FILE-- | |||
<?php | |||
|
|||
if is_null($argc) || is_null($argv) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a parse error
Sorry for my fault! I corrected the code. In addition, the change in the phptt try resolve the error mentioned here: https://bugs.php.net/bug.php?id=75499
It would be better to find out why that code freezes phpdbg ... /cc @bwoebi |
Hello, where do we see that the code freezes here? I think it passes successfully. Is it something with gcov, travis somewhere or where is this happening? Thanks... |
I had tested again and the test passed. =====================================================================
|
Great. Thank you @royopa too. 👍 |
update test to avoid that it freezes the test suite