Edit report at https://bugs.php.net/bug.php?id=64566&edit=1

 ID:                 64566
 User updated by:    wcode404 at gmail dot com
 Reported by:        wcode404 at gmail dot com
-Summary:            *
+Summary:            Not include file specified in 'auto_prepend_file' in
                     router
 Status:             Open
 Type:               Bug
 Package:            Built-in web server
 Operating System:   *
 PHP Version:        5.4.13
 Block user comment: N
 Private report:     N

 New Comment:

add summary


Previous Comments:
------------------------------------------------------------------------
[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

Reply via email to