shooyaaa
V2EX  ›  PHP

造了一个很简单的 PHP bitmap 扩展,欢迎各位拍砖

  •  
  •   shooyaaa · Jun 7, 2017 · 5236 views
    This topic created in 3438 days ago, the information mentioned may be changed or developed.
    10 replies  •  2017-06-08 01:09:20 +08:00
    qhxin
    qhxin
    Jun 7, 2017
    1
    我先 fork 了^_^
    orderc
    orderc
    Jun 7, 2017
    2
    已 star
    shooyaaa
    shooyaaa
    OP
    Jun 7, 2017
    3
    谢谢各位,一起完善它,让它成为一个流行的扩展
    orderc
    orderc
    Jun 7, 2017
    4
    @shooyaaa make 报错
    orderc
    orderc
    Jun 7, 2017
    5
    @shooyaaa 只支持 php7?
    changwei
    changwei
    Jun 7, 2017 via Android
    6
    先 mark,话说我现在也在学写 php 扩展,楼主可否分享一下你学习扩展开发的资料呢?
    majiawei
    majiawei
    Jun 7, 2017
    7
    先 star
    shooyaaa
    shooyaaa
    OP
    Jun 7, 2017
    8
    @orderc 我确实只在 php7 下编译过,我兼容一下 5
    shooyaaa
    shooyaaa
    OP
    Jun 7, 2017
    9
    http://www.php-internals.com/book/?p=chapt07/07-03-opcode-exec
    http://rapheal.iteye.com/blog/1983368
    http://nikic.github.com/
    基本就是这些然后就是自己看源码了,先看看 zval 和 hashTable 这些数据结构,然后在看看语法和词法,接着是 Zend 虚拟机运行 opcode 的过程
    @changwei
    changwei
    changwei
    Jun 8, 2017
    10
    @shooyaaa 非常感谢,我最近也在看深入理解 PHP 内核
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3109 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 04:43 · PVG 12:43 · LAX 20:43 · JFK 23:43
    ♥ Do have faith in what you're doing.