php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #64804 Incorrect Version on user_error() alias
Submitted: 2013-05-09 19:50 UTC Modified: 2013-05-16 19:31 UTC
From: rlerne at gmail dot com Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS: n/a
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: rlerne at gmail dot com
New email:
PHP Version: OS:

 

 [2013-05-09 19:50 UTC] rlerne at gmail dot com
Description:
------------
The page: http://us1.php.net/manual/en/function.user-error.php

States that the function is compatible with PHP4, PHP5, and aliases trigger_error(), however trigger_error shows that is is available from PHP 4.0.1.

Suggested change: Change version on the top of user_error() to read:

(PHP 4 >= 4.0.1, PHP 5)


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-05-16 19:31 UTC] aharvey@php.net
-Status: Open +Status: Not a bug
 [2013-05-16 19:31 UTC] aharvey@php.net
user_error() was actually in PHP 4.0.0; it was renamed to trigger_error() in PHP 4.0.1, per https://github.com/php/php-src/blob/php-4.0.1/NEWS.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jun 01 18:01:28 2024 UTC