php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #79707 Class Functions
Submitted: 2020-06-17 08:44 UTC Modified: 2020-06-17 10:09 UTC
From: devkan at devkan dot com Assigned: cmb (profile)
Status: Not a bug Package: Unknown/Other Function
PHP Version: 7.4.7 OS: WINDOWS
Private report: No CVE-ID: None
 [2020-06-17 08:44 UTC] devkan at devkan dot com
Description:
------------
PHP Version 7.4.6
Unable to Identify "FN" Name After Update.
It gives the following error


$_FN = new FN();

Parse error: syntax error, unexpected 'FN' (T_FN), expecting identifier (T_STRING) in D:\System\Xampp\htdocs\Engine\ClsFunction.php on line 4

WHAT IS FN ?

Test script:
---------------
$_FN = new FN();

Parse error: syntax error, unexpected 'FN' (T_FN), expecting identifier (T_STRING) in D:\System\Xampp\htdocs\Engine\ClsFunction.php on line 4


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-06-17 10:09 UTC] cmb@php.net
-Status: Open +Status: Not a bug -Type: Security +Type: Bug -Assigned To: +Assigned To: cmb
 [2020-06-17 10:09 UTC] cmb@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

See <https://www.php.net/manual/en/migration74.new-features.php#migration74.new-features.core.arrow-functions>.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sun May 22 08:05:44 2022 UTC