PHP: cannot declare class because the name is already in use

前端 未结 6 940
南方客
南方客 2020-12-29 19:14

I have 5 scripts:

  1. database.php
  2. parent.php
  3. child1.php
  4. child2.php
6条回答
  •  Happy的楠姐
    2020-12-29 19:23

    Class Parent cannot be declared because it is PHP reserved keyword so in effect it's already in use

提交回复
热议问题