php-scalar:PHP 标量的方法

时间:2021-07-10 08:47:33
【文件属性】:
文件名称:php-scalar:PHP 标量的方法
文件大小:94KB
文件格式:ZIP
更新时间:2021-07-10 08:47:33
PHP PHP 标量 PHP 标量的方法。 安装 安装很棒的@nikic,它允许使用标量对象的方法。 git clone git://github.com/nikic/scalar_objects.git cd scalar_objects phpize ./configure make sudo make install 然后将nkt/scalar添加到您的composer.json 。 就是这样! 集成开发环境 PHPStorm/IDEA 将标量识别为类(整数、字符串等),因此我添加了存根,为该库提供简单的代码补全。 不幸的是, array是语法中的关键字,因此它没有完成。 执照
【文件预览】:
php-scalar-master
----composer.json(394B)
----.travis.yml(359B)
----docs()
--------idea-screenshoot.png(93KB)
----tests()
--------ArrayHandlerTest.php(356B)
--------StringHandlerTest.php(2KB)
--------NumberHandlerTest.php(209B)
----LICENSE(1KB)
----src()
--------NumberHandler.php(195B)
--------stubs.php(263B)
--------ResourceHandler.php(95B)
--------register.php(679B)
--------StringHandler.php(4KB)
--------ArrayHandler.php(316B)
----.gitignore(20B)
----phpunit.xml.dist(430B)
----README.md(805B)

网友评论