Skip to content
Commits on Nov 30, 2010
  1. merge origin changes

Commits on Nov 29, 2010
  1. whitespace

Commits on Oct 11, 2010
  1. fix error when unicode chars in code for eval

    reported by qingliangcn
Commits on Aug 19, 2010
  1. Fix @spec

  2. Add reload/0 and reload_clean/0.

    These functions provide a quick way to reload the php application from files.
    This provides a quick way to reload the service in a running system with only
    a time window during which calls to php will result in noproc.
  3. Copy Requires into php_eval.

    Previously the Requires would be lost from a worker if it restarted itself.
  4. Wrap PHP code in if(0){} for parse test. This prevents function decla…

    …rations taking effect during parse test phase, which caused same to trigger fatal error in eval phase if not guarded by function_exists tests.
  5. Register php_eval workers using the same names as their supervisor us…

    …es. Use these proc names instead of pids (phpeval_1, etc.) so that when a worker dies, the interface (php.erl) doesn't have to rediscover the pid.
  6. whitespace

Commits on Jul 15, 2010
  1. Add php:require_code/1 and php:unrequire/1. Fix php:restart_all/0 han…

    …ging forever when run before any eval.
    require_code/1 allows you to add initialization code to the PHP workers. unrequire/1 removes it.
Commits on Jul 14, 2010
  1. Add php:call/2 and php:return/2.

    php:call/2 takes a PHP function name and a list of arguments (integers, floats, or strings). It escapes the args and passes them into the function. The return value is the same tuple php:eval.
    php:return/2 passes its arguments to php:call/2 and extracts the return value. The rest of the result is ignored.
  2. Merge branch 'master' of

  3. whitespace

Commits on Jan 17, 2010
  1. added some comments

    Videla Alvaro committed with
  2. new unserialize_session

    Videla Alvaro committed with
Commits on Nov 10, 2009
  1. @RJ

    spawn php with custom cli ini file

    RJ committed with
  2. @RJ

    change source dirs, add makefile

    RJ committed with
Something went wrong with that request. Please try again.