php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13457 function_exists always returns false
Submitted: 2001-09-26 13:13 UTC Modified: 2001-09-26 13:34 UTC
From: prottoss at mediaminer dot org Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 4.0.6 OS: Linux 2.4.9
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
31 + 36 = ?
Subscribe to this entry?

 
 [2001-09-26 13:13 UTC] prottoss at mediaminer dot org
function_exists() always returns false regardless of the specified input unless the function is not part of php core and is avaliable.
For example function_exists('include_once') returns false (on php 4.0.6) however it does return true for function_exists('shmop_open').

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-09-26 13:34 UTC] derick@php.net
Not a bug, include_once is not a function, but a language construct. And thus it does not appear in Zend's internal functionlist.

Derick
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 19:01:30 2024 UTC