This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @class \JsonTextOutputter | |
* @author Kendall Hopkins @link https://stackoverflow.com/users/188044/kendall-hopkins | |
* @author George G @link https://stackoverflow.com/users/3172092/george-g | |
* @source https://stackoverflow.com/a/9776726/21986565 | |
**/ | |
class JsonTextOutputter | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Provides a simple manner to obtain a final portion of a file path | |
* with the desired number of parent folders, if any. | |
* | |
* @param string $path | |
* @param int $withFolderLevels = 0 | |
* @param string|null $withSeparator = null | |
* @return string | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @author user1441149 from https://stackoverflow.com/ | |
* @since 2015-06-14 | |
* @link https://stackoverflow.com/a/30833466 | |
* @link https://stackoverflow.com/questions/12212796/parse-string-as-array-in-php/30833466#30833466 | |
* | |
* A class used to convert string representations of php arrays |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* stream - Handle raw input stream | |
* | |
* LICENSE: This source file is subject to version 3.01 of the GPL license | |
* that is available through the world-wide-web at the following URI: | |
* http://www.gnu.org/licenses/gpl.html. If you did not receive a copy of | |
* the GPL License and are unable to obtain it through the web, please | |
* |