niklasvh / php.js

PHP to JavaScript converter and VM written in JavaScript
http://phpjs.hertzen.com
MIT License
860 stars 115 forks source link

No support magic methods: __get and __set #35

Closed pwhelan closed 11 years ago

pwhelan commented 11 years ago

The magic methods get and set do not work. These features are used frequently to implement things like ActiveRecord (if one of the other interfaces like ArrayIterator is not used).

niklasvh commented 11 years ago

http://phpjs.hertzen.com/console.html?gist=3171278 http://phpjs.hertzen.com/console.html?gist=3171349 ?

pwhelan commented 11 years ago

It seems I was mistaken. If I do find a case again where it does not work I will reopen this issue. Thanks for the quick response.