hhvm icon indicating copy to clipboard operation
hhvm copied to clipboard

class 'SimpleXmlIterator' not exposed via an hhi file

Open jaredkipe opened this issue 12 years ago • 14 comments

PHP 5 > 5.1.0

jaredkipe avatar Jul 28 '14 00:07 jaredkipe

I intend to implement it when I do the HNI conversion. Unless someone gets to it first of course.

danslo avatar Jul 28 '14 00:07 danslo

For what its worth, this is part of the 'Mollom PHP Library'

jaredkipe avatar Aug 28 '14 22:08 jaredkipe

Note that we have SimpleXMLElementIterator ... it might be a case of a simple rename if the behavior is compatible with http://php.net/manual/en/class.simplexmliterator.php

elgenie avatar Dec 21 '14 16:12 elgenie

It's not just a rename.

danslo avatar Dec 21 '14 16:12 danslo

bummer

elgenie avatar Dec 22 '14 12:12 elgenie

hey guys, does anybody have some updates or temporal solutions?

dannytrue avatar Jan 12 '15 13:01 dannytrue

Not from me yet, sorry :-(

danslo avatar Jan 12 '15 20:01 danslo

Here's what needs to be ported to HHVM: https://github.com/php/php-src/blob/b7a7b1a624c97945c0aaa49d46ae996fc0bdb6bc/ext/simplexml/sxe.c

Majkl578 avatar Jan 12 '15 20:01 Majkl578

Does anybody know eta?

dannytrue avatar Jan 14 '15 12:01 dannytrue

It's wishlisted so no one on our end is actively working on it, I'm not sure if anyone else has PRs in the works though.

paulbiss avatar Jan 14 '15 19:01 paulbiss

Are there any updates on this now that 3.6 is out?

cortopy avatar Mar 30 '15 23:03 cortopy

Nothing from our end, if someone starts working on it they'll probably self assign the issue. You can find large projects we're currently focusing on here. Generally when it comes to everything else we try to prioritize crashes, then bugs and incompatibilities in existing features, then missing features (this issue for example), and finally new feature requests.

paulbiss avatar Mar 30 '15 23:03 paulbiss

@paulbiss can this be bumped up higher in priority, as without this using the AWS SDK is basically impossible, causing anyone who is leveraging AWS and its services (SES, S3 etc) to not be able to use HHVM.

shivaas avatar Mar 31 '15 00:03 shivaas

The class is present in the runtime (hhvm), but the typechecker is not aware of it.

(new \ReflectionClass(SimpleXMLIterator::class))->getMethods() |> \count($$) |> \var_dump($$);

outputs int(26)

I updated the issue title to reflect this.

lexidor avatar May 14 '20 21:05 lexidor