Bug #64566 [Com]: Not include file specified in 'auto_prepend_file' in router
Edit report at https://bugs.php.net/bug.php?id=64566&edit=1
ID: 64566
Comment by: nicolas dot grekas+php at gmail dot com
Reported by: wcode404 at gmail dot com
Summary: Not include file specified in 'auto_prepend_file' in
router
Status: Assigned
Type: Bug
Package: Built-in web server
Operating System: *
PHP Version: 5.4.13
Assigned To: laruence
Block user comment: N
Private report: N
New Comment:
The same is true for auto_append_file
Previous Comments:
------------------------------------------------------------------------
[2013-04-03 01:47:16] laruence@php.net
assign to myself
------------------------------------------------------------------------
[2013-04-02 14:33:51] wcode404 at gmail dot com
add summary
------------------------------------------------------------------------
[2013-04-02 14:31:01] wcode404 at gmail dot com
Description:
------------
Not include file specified in 'auto_prepend_file' in router.
Test script:
---------------
# p.php
<?php
function p() {
// do something
}
# php.ini
...
auto_prepend_file = /path/to/p.php
# router.php
<?php
var_dump(function_exists('p'));
call in cmd
# php -S localhost:8000 router.php
Expected result:
----------------
bool(true)
Actual result:
--------------
bool(false)
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=64566&edit=1
Thread (6 messages)