bolt / collection Goto Github PK
View Code? Open in Web Editor NEWObject Orientated implementations of arrays
License: MIT License
Object Orientated implementations of arrays
License: MIT License
I try to install bolt CMS, but it raises error:
$ composer create-project bolt/composer-install:^3.4 testapp --prefer-dist
Do you want to use Bolt's standard folder structure? (yes/no) [yes]:
> yes
Would you like to enable the default site Bundle? (yes/no) [yes]:
> yes
PHP Fatal error: Uncaught Error: Call to undefined function Bolt\Collection\is_iterable() in /home/test/testapp/vendor/bolt/collection/src/Arr.php:67
Stack trace:
#0 /home/test/testapp/vendor/bolt/collection/src/Bag.php(127): Bolt\Collection\Arr::fromRecursive(Array)
#1 /home/test/testapp/vendor/bolt/bolt/src/Composer/Script/BundleConfigurator.php(97): Bolt\Collection\Bag->toArrayRecursive()
#2 /home/test/testapp/vendor/bolt/bolt/src/Composer/Script/BundleConfigurator.php(71): Bolt\Composer\Script\BundleConfigurator->save(Object(Bolt\Collection\MutableBag))
#3 /home/test/testapp/vendor/bolt/bolt/src/Composer/ScriptHandler.php(80): Bolt\Composer\Script\BundleConfigurator->run()
#4 phar:///usr/local/Cellar/composer/1.5.2/libexec/composer.phar/src/Composer/EventDispatcher/EventDispatcher.php(282): Bolt\Composer\ScriptHandler::configureProject(Object(Composer\Script\Event))
#5 phar:///usr/local/Cellar/composer/1.5.2/libexec/composer.phar/src/Composer/EventDispatcher/Even in /home/test/testapp/vendor/bolt/collection/src/Arr.php on line 67
$ php --version
PHP 7.0.25 (cli) (built: Oct 27 2017 12:55:48) ( NTS )
composer --version
Composer version 1.5.2 2017-09-11 16:59:25
Bag::from([])->find(function ($v, $k) { return false; });
PHP Notice: Undefined offset: -1 in vendor/bolt/collection/src/Bag.php on line 466
PHP Stack trace:
PHP 1. {main}() Foo.php:0
PHP 2. Bolt\Collection\Bag->find() Foo.php:5
PHP 3. Bolt\Collection\Bag->findKey() vendor/bolt/collection/src/Bag.php:381
PHP 4. Bolt\Collection\Bag->iterateFromIndex() vendor/bolt/collection/src/Bag.php:415
PHP Notice: Undefined index: in vendor/bolt/collection/src/Bag.php on line 467
PHP Stack trace:
PHP 1. {main}() Foo.php:0
PHP 2. Bolt\Collection\Bag->find() Foo.php:5
PHP 3. Bolt\Collection\Bag->findKey() vendor/bolt/collection/src/Bag.php:381
PHP 4. Bolt\Collection\Bag->iterateFromIndex() vendor/bolt/collection/src/Bag.php:415
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.