Mantis - Quercus
Viewing Issue Advanced Details
3325 block always 02-06-09 10:53 02-06-09 16:07
koreth  
nam  
normal  
closed 4.0.0  
fixed  
none    
none 4.0.0  
0003325: file_get_contents NPE with URL
<?php
$x = file_get_contents('http://apple.com/'); [^]

Throws an exception:

java.lang.NullPointerException
    at com.caucho.quercus.lib.file.HttpInputOutput.<init>(HttpInputOutput.java:82)
    at com.caucho.quercus.lib.file.FileModule.fopen(FileModule.java:1388)
    at com.caucho.quercus.lib.file.FileModule.file_get_contents(FileModule.java:939)
    at _quercus._html._test._file_0get_0contents__php.execute(_file_0get_0contents__php.java:42)

Notes
(0003808)
nam   
02-06-09 16:07   
php/164r