-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Some functionality requires register_argc_argv #4595
Copy link
Copy link
Closed
Description
What are you trying to achieve?
Code coverage of functional tests by using c3.php.
What do you get instead?
Lots of errors
PHP Notice: Undefined index: argv in phar://C:/usr/bin/codecept.phar/src/Codeception/Application.php on line 137
PHP Notice: Undefined index: argv in phar://C:/usr/bin/codecept.phar/src/Codeception/Command/SelfUpdate.php on line 44
Changing register_argc_argv = On in php.ini and restarting the server fixes this error, however, this setting is not recommended in either production or development environments.
Setting register_argc_argv = On doesn't completely fix the issue, however.
PHP Notice: Undefined offset: 0 in phar://C:/usr/bin/codecept.phar/src/Codeception/Command/SelfUpdate.php on line 44
Details
- Codeception version: 2.3.6
- PHP Version: 5.5.9
- Operating System: Windows 10
- Installation type: manual
This issue was mentioned as an aside in #531.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels