Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/ift/vendor/consolidation/output-formatters/src/Transformations/

Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Upload File :
Current File : /var/www/html/ift/vendor/consolidation/output-formatters/src/Transformations/PropertyParser.php

<?php
namespace Consolidation\OutputFormatters\Transformations;

/**
 * Transform a string of properties into a PHP associative array.
 *
 * Input:
 *
 *   one: red
 *   two: white
 *   three: blue
 *
 * Output:
 *
 *   [
 *      'one' => 'red',
 *      'two' => 'white',
 *      'three' => 'blue',
 *   ]
 */
class PropertyParser
{
    public static function parse($data)
    {
        if (!is_string($data)) {
            return $data;
        }
        $result = [];
        $lines = explode("\n", $data);
        foreach ($lines as $line) {
            list($key, $value) = explode(':', trim($line), 2) + ['', ''];
            if (!empty($key) && !empty($value)) {
                $result[$key] = trim($value);
            }
        }
        return $result;
    }
}

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped) Email: contact@elmoujehidin.net