Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002742 [Quercus] minor always 06-18-08 09:20 06-19-08 14:14
Reporter kubazygmunt View Status public  
Assigned To nam
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.2.0 Product Version 3.2.0
  Product Build
Summary 0002742: include. include_once don't return a Boolean value
Description In Quercus when the file is included a value NullValue.NULL is being returned.
( if file does not exist we get an error message but still value.Null is passed )

In php we have TRUE or FALSE depending whether file exists or not

Steps To Reproduce
Additional Information PHP information:
http://uk.php.net/manual/en/function.include.php [^]

Affected code is:
package com.caucho.quercus.env;
Env.java
line: 3834
method: public Value include(Path scriptPwd, String include,
               boolean isRequire, boolean isOnce) { ... }

Attached Files

- Relationships

- Notes
(0003211)
nam
06-19-08 14:14

php/0b2i
php/0b2j
 

- Issue History
Date Modified Username Field Change
06-18-08 09:20 kubazygmunt New Issue
06-19-08 11:09 nam Status new => assigned
06-19-08 11:09 nam Assigned To  => nam
06-19-08 14:14 nam Status assigned => closed
06-19-08 14:14 nam Note Added: 0003211
06-19-08 14:14 nam Resolution open => fixed
06-19-08 14:14 nam Fixed in Version  => 3.2.0


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker