Download the PHP package dg/php54-arrays without Composer
On this page you can find all versions of the php package dg/php54-arrays. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download dg/php54-arrays
More information about dg/php54-arrays
Files in dg/php54-arrays
Download dg/php54-arrays
More information about dg/php54-arrays
Files in dg/php54-arrays
Vendor dg
Package php54-arrays
Short Description Command-line script to convert between array() and PHP 5.4's short syntax []
License BSD-3-Clause
Package php54-arrays
Short Description Command-line script to convert between array() and PHP 5.4's short syntax []
License BSD-3-Clause
Please rate this library. Is it a good library?
Informations about the package php54-arrays
PHP 5.4 Short Arrays Converter []
Command-line script to convert between array()
and PHP 5.4's short syntax []
(and vice versa).
It uses native PHP tokenizer, so conversion is safe. The script was successfully tested against thousands of PHP files.
Usage
To convert all *.php
and *.phpt
files in whole directory recursively or to convert a single file use:
To convert source code from STDIN and print the output to STDOUT use:
To convert short syntax []
to older long syntax array()
use option --reverse
:
All versions of php54-arrays with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4.0
The package dg/php54-arrays contains the following files
Loading the files please wait ....