getinweb/test-composer-package

There is no license information available for the latest version (v1.1.3) of this package.

Test version of composer package

v1.1.3 2022-11-14 09:14 UTC

This package is auto-updated.

Last update: 2024-12-14 13:27:49 UTC


README

Contains simple example class with static method, which prepares array to formatted output

Requirements

  • PHP ^7.0 || ^8.0

Installation

$ composer require getinweb/test-composer-package

Usage

<?php

$arr = [
        'level1' => [
            '1' => 1,
            'level2' => [
                '2' => 2,
                'level3' => 3,
            ],
        ]
    ];

echo PrintProcessor::print_array($arr);

/**
 * Result will be something like this
 * 
 * 'level1' => [
 *     '1' => 1
 *     'level2' => [
 *          '2' => 2
 *          '3' => 3
 *     ]
 *]
*/