Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rryqszq4/php-ext-shurrik
Shurrik is a PHP extension, used for testing PHP kernel
https://github.com/rryqszq4/php-ext-shurrik
Last synced: about 2 months ago
JSON representation
Shurrik is a PHP extension, used for testing PHP kernel
- Host: GitHub
- URL: https://github.com/rryqszq4/php-ext-shurrik
- Owner: rryqszq4
- Created: 2013-07-23T10:10:06.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-05-31T09:52:42.000Z (over 9 years ago)
- Last Synced: 2023-06-09T20:31:11.440Z (over 1 year ago)
- Language: Shell
- Size: 3.22 MB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
shurrik
=======Shurrik is a PHP extension, used for testing PHP kernel
## Environment
Linux localhost 2.6.32-279.el6.i686 #1 SMP Fri Jun 22 10:59:55 UTC 2012 i686 i686 i386 GNU/Linux
PHP 5.3.27
## Building
~~~ sh
$ ./configure --with-php-config=/usr/local/php/bin/php-config
$ make && make install$ gcc shurrik_server.c -o shurrik_server
~~~## Running shurrik_server
~~~ sh
$ ./shurrik_server
~~~## Example trace opcode
Run test and will be tracing in cli
~~~ sh
$ php tests/002.php
~~~
~~~ sh
$ ./shurrik_server
==================== start ====================
tests/002.php
id line opcode handler op1 op2 result
0 3 ZEND_ECHO ZEND_ECHO_SPEC_CONST_HANDLER abc
1 5 ZEND_PRINT ZEND_PRINT_SPEC_CONST_HANDLER abc ~(nil)
2 5 ZEND_FREE ZEND_FREE_SPEC_TMP_HANDLER ~(nil)
3 8 ZEND_RETURN ZEND_RETURN_SPEC_CONST_HANDLER 1==================== end ====================
~~~Run in web cgi , this is a app test in yaf
![image](https://github.com/rryqszq4/shurrik/blob/master/EXT_yaf_1.png)