bug38943_2.phpt 504 B

123456789101112131415161718192021222324252627282930313233343536
  1. --TEST--
  2. #38943, properties in extended class cannot be set (5.3)
  3. --EXTENSIONS--
  4. zip
  5. --FILE--
  6. <?php
  7. include 'bug38943.inc';
  8. ?>
  9. --EXPECTF--
  10. array(1) {
  11. [0]=>
  12. int(1)
  13. }
  14. object(myZip)#1 (%d) {
  15. ["lastId"]=>
  16. int(-1)
  17. ["status"]=>
  18. int(0)
  19. ["statusSys"]=>
  20. int(0)
  21. ["numFiles"]=>
  22. int(0)
  23. ["filename"]=>
  24. string(0) ""
  25. ["comment"]=>
  26. string(0) ""
  27. ["test":"myZip":private]=>
  28. int(0)
  29. ["testp"]=>
  30. string(6) "foobar"
  31. ["testarray":"myZip":private]=>
  32. array(1) {
  33. [0]=>
  34. int(1)
  35. }
  36. }