5 Smashing Changes Your Extension Will Encounte...

Rize MISUMI
November 24, 2015

5 Smashing Changes Your Extension Will Encounter #phpblt

at PHP BLT (11/24)

Rize MISUMI

November 24, 2015

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

27 slides
  1. Note When installing extesions from GitHub, pickle is suitable https://github.com/FriendsOfPHP/pickle

    ./bin/pickle install https://github.com/php-memcached-dev/php-memcached.git#php7
  2. zval → zval** Z_*_PP() is obsolete → Change to use

    zval* → PHP7 frequently uses zval directly → ALLOC_ZVAL, ALLOC_INIT_ZVAL, MAKE_STD_ZVAL has removed
  3. zend_string → Replacement of char* and int length → Many

    of PHP's API using char* has replaced to zend_string
  4. HashTable → Most API returns values, not SUCCESS, FAILURE →

    char*, length based API (similar to PHP5) remains → But length is changed to exclude trailing zero

More Decks by Rize MISUMI

Other Decks in Programming