php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #73615 phpdbg without option never load .phpdbginit at startup
Submitted: 2016-11-27 15:30 UTC Modified: 2016-11-30 01:39 UTC
From: for-bugs at hnw dot jp Assigned: bwoebi
Status: Closed Package: phpdbg
PHP Version: 7.1.0RC6 OS: Any
Private report: No CVE-ID:
 [2016-11-27 15:30 UTC] for-bugs at hnw dot jp
Description:
------------
The latest version of phpdbg never read .phpdbginit at startup. 

This is due to a fix in bug #71234. PHP 7.0.9-7.0.13 and PHP 7.1.0RC6 are affected by this bug.


Test script:
---------------
$ cat > .phpdbginit
q
$ phpdbg -q

Expected result:
----------------
Quit immediately


Actual result:
--------------
Prompt is displayed

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-11-30 01:39 UTC] bwoebi@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: bwoebi
 [2016-11-30 01:39 UTC] bwoebi@php.net
It's related to https://github.com/php/php-src/commit/85e985f191c228cb6b119ebe223d682c9166fdc2 (and the wrong fix there). (Unrelated to the bug you linked to)

Will fix soon.
 [2016-11-30 01:56 UTC] bwoebi@php.net
Automatic comment on behalf of bobwei9@hotmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=b73a3afff333143b2908b280e6a4e26d61cb3138
Log: Fixed bug #73615 (phpdbg without option never load .phpdbginit at startup)
 [2016-11-30 01:56 UTC] bwoebi@php.net
-Status: Assigned +Status: Closed
 [2016-11-30 01:57 UTC] bwoebi@php.net
Automatic comment on behalf of bobwei9@hotmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=b73a3afff333143b2908b280e6a4e26d61cb3138
Log: Fixed bug #73615 (phpdbg without option never load .phpdbginit at startup)
 [2016-11-30 01:57 UTC] bwoebi@php.net
Automatic comment on behalf of bobwei9@hotmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=b73a3afff333143b2908b280e6a4e26d61cb3138
Log: Fixed bug #73615 (phpdbg without option never load .phpdbginit at startup)
 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Tue Aug 29 15:01:52 2017 UTC