library phpj
PHP OOP Core inspired by Java
phpj/phpj
PHP OOP Core inspired by Java
- Saturday, April 11, 2015
- by urakozz
- Repository
- 5 Watchers
- 3 Stars
- 331 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
PHPJ
, (*1)
PHP OOP Core inspired by Java, (*2)
Sources, (*3)
http://docs.oracle.com/javase/8/docs/api/, (*4)
Contribute
- fork & clone
composer install
vendor/bin/phpunit --debug
- contribute
- pull request
Progress
- Lang
- Object (Alpha ready)
- String (Alpha ready)
- AbstractStringBuilder (Alpha ready)
- StringBuilder (Alpha ready)
- Number
- Integer
- Math (Inited)
- StrictMath (inited)
- System (inited)
- Util
- Locale (inted)
- StringJoiner (Alpha ready)
- Arrays (inited)
- Objects (inited)
- Properties (inited)
- IO
- File (Alpha ready)
- UnixFileSystem (Alpha ready)
Problems and solutions:
- Method overloading
Solution: factory method
- Object math operators
Solutions:
- php5-operator [http://pecl.php.net/package/operator] [http://webreflection.blogspot.ru/2008/06/from-future-php-javascript-like-number.html]
- Extending GMP class [http://php.net/manual/en/class.gmp.php]