php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #76597 phpdbg does not support auto_*_file ini settings
Submitted: 2018-07-09 02:34 UTC Modified: -
From: kevin dot abel dot 0 at gmail dot com Assigned:
Status: Open Package: phpdbg
PHP Version: 7.1.19 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: kevin dot abel dot 0 at gmail dot com
New email:
PHP Version: OS:

 

 [2018-07-09 02:34 UTC] kevin dot abel dot 0 at gmail dot com
Description:
------------
phpdbg does not support the auto_prepend_file or auto_append_file ini settings.

Test script:
---------------
--prepend--
prepend

--append--
append

--auto.php--
<?php
echo "done\n";

$ php -dauto_prepend_file=prepend auto.php
$ phpdbg -qrrdauto_prepend_file=prepend auto.php
$ php -dauto_append_file=append auto.php
$ phpdbg -qrrdauto_append_file=append auto.php

Expected result:
----------------
$ php -dauto_prepend_file=prepend auto.php
prepend
done
$ phpdbg -qrrdauto_prepend_file=prepend auto.php
prepend
done
$ php -dauto_append_file=append auto.php
done
append
$ phpdbg -qrrdauto_append_file=append auto.php
done
append

Actual result:
--------------
$ php -dauto_prepend_file=prepend auto.php
prepend
done
$ phpdbg -qrrdauto_prepend_file=prepend auto.php
done
$ php -dauto_append_file=append auto.php
done
append
$ phpdbg -qrrdauto_append_file=append auto.php
done

Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Mon Dec 10 08:01:24 2018 UTC