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

 ID:                 64566
 Updated by:         larue...@php.net
 Reported by:        wcode404 at gmail dot com
 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
-Assigned To:        
+Assigned To:        laruence
 Block user comment: N
 Private report:     N

 New Comment:

assign to myself


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

Reply via email to