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
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: 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: Fri Nov 01 01:01:28 2024 UTC