php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10318 pathinfo causes network error
Submitted: 2001-04-13 13:46 UTC Modified: 2001-04-13 14:25 UTC
From: bmccarty at apu dot edu Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0.4pl1 OS: RH Linux 6.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bmccarty at apu dot edu
New email:
PHP Version: OS:

 

 [2001-04-13 13:46 UTC] bmccarty at apu dot edu
Calling pathinfo() on a path that lacks a file extension causes PHP to screw up:

$info = pathinfo("/home/bill/bin/script");

The similar invocation works fine:

$info = pathinfo("/home/bill/bin/script.php");

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-13 14:25 UTC] thies@php.net
fixed in CVS and 4.0.5 branch


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 04:01:32 2024 UTC