dan-da/py2php

Class extending

Closed this issue · 2 comments

class BinFactory(object):

converts to

class BinFactory extends object {

which definitely is some sort of issue, object would have to be an existing class. I think it has to do with class overriding or something? Not sure, I don't code python :)

nevermind, I see what's going on.. maybe omit the system objects? I dunno

Fixed in b5874b8. Now it translates object to stdClass when inheriting.