can, 1 month ago German @SenseException I think one issue is that PHP doesn't have a handy way of mass assigning properties when constructing the object: C#: new StudentName { FirstName = "Bobby", LastName = "Tables" }; PHP :thisisfine: $student = new StudentName; $student->firstName = "Bobby"; $student->lastName = "Tables"; or you have to pass them in via constructor arguments in the correct order and it's just a pain. I always try to use them, but every time I find it inconvenient because it's so cumbersome.
@SenseException I think one issue is that PHP doesn't have a handy way of mass assigning properties when constructing the object:
C#: new StudentName { FirstName = "Bobby", LastName = "Tables" };
PHP :thisisfine: $student = new StudentName; $student->firstName = "Bobby"; $student->lastName = "Tables";
or you have to pass them in via constructor arguments in the correct order and it's just a pain. I always try to use them, but every time I find it inconvenient because it's so cumbersome.