Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

W.I.P: Zend: container/offset semantics RFC: object handlers #19

Closed
wants to merge 39 commits into from

Conversation

Girgias
Copy link
Owner

@Girgias Girgias commented Feb 2, 2024

Conversions:

  • ext/dom: All classes
  • ext/simplexml: SimpleXML
  • ext/pdo: PDORow
  • ext/intl: ResourceBundle
  • Zend: WeakMap
  • ext/ffi FFI classes
  • ext/spl: ArrayObject
  • ext/spl: ArrayIterator
  • ext/spl: RecursiveArrayIterator
  • ext/spl: SplObjectStorage
  • ext/spl: SplFixedArray

Classes that implement ArrayAccess without specialized handlers

  • ext/phar: Phar
  • ext/phar: PharData
  • ext/spl: CachingIterator

Other To-dos:

  • Fix Windows build
  • JIT Support
  • opcache support (opcache_persist stuff)
  • Fix issue not being able to call offsetFetch() as it is not marked to return by reference?
  • Be sure about the indirect thing for ArrayObject, and possibly use it for SplFixedArray
  • RFC Updating

Ideally this really should be split into 3 concrete subclasses and CData becoming an interface
Except for ArrayAccess, still need to convert some
Shot in the dark via CI
@Girgias Girgias force-pushed the zend_container_offset_semantics branch from 7b20c51 to cb78781 Compare July 11, 2024 15:44
@Girgias
Copy link
Owner Author

Girgias commented Jul 11, 2024

See PR on the main repo: php#14920

@Girgias Girgias closed this Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants