V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
shooyaaa
V2EX  ›  PHP

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

  •  
  •   shooyaaa · 2017-06-07 10:14:47 +08:00 · 3872 次点击
    这是一个创建于 2522 天前的主题,其中的信息可能已经有所发展或是发生改变。
    10 条回复    2017-06-08 01:09:20 +08:00
    qhxin
        1
    qhxin  
       2017-06-07 10:33:42 +08:00
    我先 fork 了^_^
    orderc
        2
    orderc  
       2017-06-07 13:08:38 +08:00
    已 star
    shooyaaa
        3
    shooyaaa  
    OP
       2017-06-07 14:39:03 +08:00
    谢谢各位,一起完善它,让它成为一个流行的扩展
    orderc
        4
    orderc  
       2017-06-07 14:48:05 +08:00
    @shooyaaa make 报错
    orderc
        5
    orderc  
       2017-06-07 14:50:49 +08:00
    @shooyaaa 只支持 php7?
    changwei
        6
    changwei  
       2017-06-07 14:52:50 +08:00 via Android
    先 mark,话说我现在也在学写 php 扩展,楼主可否分享一下你学习扩展开发的资料呢?
    majiawei
        7
    majiawei  
       2017-06-07 15:19:49 +08:00
    先 star
    shooyaaa
        8
    shooyaaa  
    OP
       2017-06-07 17:46:05 +08:00
    @orderc 我确实只在 php7 下编译过,我兼容一下 5
    shooyaaa
        9
    shooyaaa  
    OP
       2017-06-07 17:48:08 +08:00
    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
        10
    changwei  
       2017-06-08 01:09:20 +08:00
    @shooyaaa 非常感谢,我最近也在看深入理解 PHP 内核
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   804 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 19:50 · PVG 03:50 · LAX 12:50 · JFK 15:50
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.