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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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 10:01:28 2024 UTC