Skip to content

Syntax error #134

Open
Open

Description

@TsSaltan
class test{
	public $a = '1';
	function __construct(){
		(int) $this->a++;
	}
}

new test();

Вызывает ошибку
Syntax error, unexpected '++' on line 8 at
на строке (int) $this->a++;

Activity

  1. izdec8d commented on Mar 9, 2024

    @izdec8d

    это баг dfevel next который никогда теперь не пофиксят

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions