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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
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

Pull Requests

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: Sat Dec 21 13:01:31 2024 UTC