Tag: extensions

  • Standard core PHP 5.3 extensions

    When writing PHPT tests for PHP, it’s good practice to have a conditional –SKIPIF– block to see if the test can be skipped when some extension you’re testing isn’t available. With the PHP_5_3 CVS branch (the one you should be testing against), some new extensions can’t be disabled, so the –SKIPIF– block isn’t needed anymore. […]

  • Configuring PHP: --with-extension or --enable-extension?

    This is a small thing that got me wondering in the past but it wasn’t until recently, when I started picking up developing PHP extensions, that I wanted to know: when does one use –with-extension and when does one use –enable-extension? The answer is easy but you just have to remember ;-) –with-extension is used […]