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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Sat May 10 22:01:26 2025 UTC