Download the PHP package rolfisub/print-key-value without Composer
On this page you can find all versions of the php package rolfisub/print-key-value. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download rolfisub/print-key-value
More information about rolfisub/print-key-value
Files in rolfisub/print-key-value
Download rolfisub/print-key-value
More information about rolfisub/print-key-value
Files in rolfisub/print-key-value
Vendor rolfisub
Package print-key-value
Short Description A function to print key values to stdout.
License MIT
Package print-key-value
Short Description A function to print key values to stdout.
License MIT
Please rate this library. Is it a good library?
Informations about the package print-key-value
Key Value Print Class
To install run:
composer require rolfisub/print-key-value
To use in your php file
use Rolfisub/PrintKeyValue/PrintKeyValue; $pkv = new PrintKeyValue(); echo $pkv->printKeyValues([ 1, 2, 3, 4, "some"=>"array", [ 1, [ "yey"=>"value" ] ] ]); /*this will output: 0:1 1:2 2:3 3:4 some:array { 0:1 { yey:value } }
Output can be customized using the constructor parameters. Please check the class constructor as a reference.
Additionally you can call the clear() method to reset the output to "".
All versions of print-key-value with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1
The package rolfisub/print-key-value contains the following files
Loading the files please wait ....