Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Nov 30, 2010
  1. merge origin changes

    authored
Commits on Nov 29, 2010
  1. whitespace

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

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

    authored
  2. Add reload/0 and reload_clean/0.

    authored
    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.

    authored
    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…

    authored
    …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…

    authored
    …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

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

    authored
    …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.

    authored
    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 http://github.com/skeltoac/php_app

    authored
    Conflicts:
    
    	src/php.erl
  3. new Makefile

    authored
  4. whitespace

    authored
Commits on Feb 6, 2009
  1. Fix empty README.

    authored
  2. first commit

    authored
  3. initial import

    authored
Something went wrong with that request. Please try again.