• 技术文章 >后端开发 >php教程

    composer.json 中 "hisune/echarts-php": "^1.0" 里面的^ 含义

    2016-06-06 20:11:40原创689
    composer.json 中 "hisune/echarts-php": "^1.0" 含义,以及里面的^ 含义

    回复内容:

    composer.json 中 "hisune/echarts-php": "^1.0" 含义,以及里面的^ 含义

    Caret

    The ^ operator behaves very similarly but it sticks closer to semantic versioning, and will always allow non-breaking updates. For example ^1.2.3 is equivalent to >=1.2.3 <2.0.0 as none of the releases until 2.0 should break backwards compatibility. For pre-1.0 versions it also acts with safety in mind and treats ^0.3 as >=0.3.0 <0.4.0.

    This is the recommended operator for maximum interoperability when writing library code.

    Example: ^1.2.3

    声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn核实处理。
    专题推荐:php composer
    上一篇:phalcon 下一篇:discuz论坛压缩css页面不正常
    PHP编程就业班

    相关文章推荐

    • 带你聊聊PHP中的泛型之基础知识浅析• PHP高并发实例详解之解决商品库存超卖问题• 十天学会php之第三天_php基础• php将数组存储为文本文件方法汇总_PHP• 再点一次Active的名,我把你的函数功能扩充了一下,嘻嘻,现在能_PHP

    全部评论我要评论

  • 取消发布评论发送
  • 1/1

    PHP中文网