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: -
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
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

Pull Requests

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 06:01:30 2024 UTC