This file contains 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 | |
/** | |
* Collapse an array of arrays into a single array. | |
* | |
* @param array $array | |
* @return array | |
*/ | |
public static function collapse($array) | |
{ |
This file contains 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 | |
/** | |
* Mohammed Attya | |
* RomanNumeralConverter | |
* MIT Licence | |
* run using WAMP / XAMPP / LAMP / MAMP or just php RomanNumeralConverter.php in terminal | |
* make sure to install php first | |
*/ |