No description, website, or topics provided.
C PHP Other
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.travis.scripts Added travis scripts and config Mar 2, 2015
tests Added some test cases for the foreach and catch jump calculations Nov 28, 2015
.cvsignore [0.05] Sep 18, 2003
.gitignore Get rid of < PHP 7.0 code. Oct 21, 2017
.travis.yml Added travis scripts and config Mar 2, 2015
CREDITS Fixed license headers in files. Oct 22, 2013
Changelog *** empty log message *** Nov 25, 2009
EXPERIMENTAL This commit was generated by cvs2svn to compensate for changes in r2, Jan 2, 2002
LICENSE Welcome to 2016 Jan 1, 2016
Makefile.frag Added missing makefile fragment. Mar 2, 2015
Makefile.in - Merge path-coverage code back into trunk. Feb 14, 2010
README.rst Typo May 14, 2018
branchinfo.c New PHP 7.2 switch optimisation: part 2, implement branch points for … Nov 22, 2017
branchinfo.h New PHP 7.2 switch optimisation: part 1, making jump outs non static Oct 26, 2017
config.m4 Set minimum required version to PHP 7 Oct 15, 2017
config.w32 fix windows build Mar 6, 2012
package.xml Set minimum required version to PHP 7 Oct 15, 2017
php_vld.h Welcome to 2016 Jan 1, 2016
rebuild.sh Enable more warnings, and fix a few of them Apr 8, 2015
set.c Welcome to 2016 Jan 1, 2016
set.h Welcome to 2016 Jan 1, 2016
srm_oparray.c Add verbosity mode 3 to show the opcode name Jan 18, 2018
srm_oparray.h [WIP] First bit of switch jump table implementation (visual only) Jun 8, 2017
vld.c Fixed issue #33: Make sure to restore zend_compile_string to its orig… Apr 15, 2018
vld.dsp [0.25] Dec 16, 2003
vld.dsw [0.25] Dec 16, 2003

README.rst

README

This extension is to show low level PHP structures. It is therefore very sensitive to changes in the PHP API. If the PECL install doesn't work, please try the latest version from GitHub:

git clone https://github.com/derickr/vld.git
cd vld
phpize
./configure
make && make install

If it still doesn't compile, then VLD is not for you. Patches are welcome through Pull Requests.

How does it work?

There are a few options in the form of php.ini settings available.

In order for VLD to do anything, you need to set vld.active=1.

If you want to prevent VLD from executing code, set vld.execute=0.

Other settings are also available, but not documented yet.

Please see the project page at http://derickrethans.nl/projects.html#vld for some more information.