icewind/executer
最新稳定版本:v0.1.0
Composer 安装命令:
composer require icewind/executer
包简介
Eval php code in temporary files to enable debugging
README 文档
README
Eval php code in temporary files to enable debugging
composer require icewind/executer
Why not just use eval?
Since code loaded trough eval doesn't come from a file it's not possible for debuggers to show you the code being executed,
by placing the code in a temporary file and including it you gain the ability view the code in your favorite debugger while stepping trough it.
Usage
use Icewind\Executer\Executer; $executer = new Executer(); $executer->evalCode('echo "foo"');
API
evalCode(string $code)Execute eval-compatible code (doesn't start with '<?php...')includeCode(string $code)Execute include-compatible code (start with '<?php...')
统计信息
- 总下载量: 18
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-11-07