static_properties_undeclared_inc.phpt 175 B

123456789
  1. --TEST--
  2. Incrementing a non-existent static property
  3. --FILE--
  4. <?php
  5. Class C {}
  6. C::$p++;
  7. ?>
  8. --EXPECTF--
  9. Fatal error: Access to undeclared static property: C::$p in %s on line 3