php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #243 String subtraction (-) not noted as no longer supported
Submitted: 1998-04-04 04:33 UTC Modified: 1998-04-08 22:11 UTC
From: david at uws dot edu dot au Assigned:
Status: Closed Package: Documentation problem
PHP Version: 3.0 Release Candidate 2 OS: Debian/GNU Linux 1.3
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: david at uws dot edu dot au
New email:
PHP Version: OS:

 

 [1998-04-04 04:33 UTC] david at uws dot edu dot au
The sample "guestbook" app with PHP/FI 2 uses a string
construct as per:

  $fn = $fn - "\.html";

The result of this in PHP3 is that $fn equals zero (0);
presumably that like the string concatenation (+), the
string subtraction (-) operator is no longer supported - but
this is not documented (nor handled by the "convertor" app).

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-04-08 22:11 UTC] jim
Now notes in the CHANGES document.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 07:01:29 2024 UTC