Trying your hello example creates "b has no properties" error in MicrosoftAjax.js line 5. When changing script source from MicrosoftAjax.js to MicrosoftAjax.debug.js is says: Chyba: [Exception... "...
Here is the correct way to solve it: if ((isset($_SERVER['HTTP_CONTENT_TYPE']) && strpos($_SERVER['HTTP_CONTENT_TYPE'], 'application/json') !== 0) || (isset($_SERVER['CONTENT_TYPE']) && strpos(...
PHP maintains a generic empty class stdClass from which all class are built in PHP. You can use that class to create generic class objects anytime you wish. <code> $class = new stdClass(); $class-...
See the first comment at http://ajaxian.com/archives/php-for-microsoft-ajax-library. Billy reports that his machine (running PHP5.2) doesn't have this variable.