php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70200 Just testing PHP7
Submitted: 2015-08-06 10:04 UTC Modified: 2015-08-06 10:56 UTC
From: wantedxenon at hotmail dot com Assigned: cmb (profile)
Status: Not a bug Package: *General Issues
PHP Version: 7.0.0beta3 OS: Windows 8.1
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: wantedxenon at hotmail dot com
New email:
PHP Version: OS:

 

 [2015-08-06 10:04 UTC] wantedxenon at hotmail dot com
Description:
------------
function &OutputDefault( &$msg )
	{
		$os =& new COutString();
		$os->AddItem( CStr::n2e( $this->GetVal() ) );
		return $os;
	}

Test script:
---------------
PHP Parse error:  syntax error, unexpected 'new' (T_NEW)


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-08-06 10:56 UTC] cmb@php.net
-Status: Open +Status: Not a bug -Assigned To: +Assigned To: cmb
 [2015-08-06 10:56 UTC] cmb@php.net
"Assignment of new by reference" has already been deprecated since
PHP 5.3.0. As of PHP 7.0.0 it is an error. See
<https://wiki.php.net/rfc/remove_deprecated_functionality_in_php7>.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 12:01:30 2024 UTC