Code
© potherca

Last code:
2018-06-25 12:42:34

Page creation date:
2013-05-09 16:51:43
sort:  date
Comparing path and path with dot. PHP Success 51 days ago
Answer to http://www.spoj.com/problems/TEST/ PHP Success 123 days ago
Proof that a PHP class can not have both a static and non-static method with the same name. PHP Success 239 days ago
Comparison of Callable and Closure type hint in PHP PHP Success 274 days ago
Example demonstrating a ClosedGeneratorException being caught outside of a Generator in PHP. PHP Success 279 days ago
Example of catching a ClosedGeneratorException inside a Generator in PHP PHP Success 279 days ago
PHP Example of using `array_walk()` instead of `foreach`. PHP Success 291 days ago
Example of `array_walk()` and `foreach` using `list()` PHP Success 291 days ago
Cheaper solution to find out if a class is abstract, instead of using ReflectionObject PHP Success 1 year ago
Getting a sub-string of an empty string. PHP Success 2 years ago
Circular class inheritance in PHP PHP Runtime error 2 years ago
The bot replies with a message in private with a string like this: <number1>/<number2> - You must calculate the square root of the number n°1 and multiply the result by the number n°2. - Then you need to round to two decimals. @source:http://www.root-me.org/en/Challenges/Programming/Go-back-to-college-147 PHP Success 2 years ago
PHP Success 2 years ago
Using emoji characters as PHP functions/variables. PHP Success 2 years ago
Using UTF8 characters as PHP functions/variables. PHP Success 2 years ago
Casting NULL to an array in PHP PHP Success 2 years ago
From String to char in C. C Compilation error 2 years ago
Yet another approach of making code more readable. Source: https://medium.com/@dylanbr/writing-highly-readable-code-94da94d5d636 PHP Runtime error 3 years ago
Example suing strlen in C C Success 3 years ago
Using a class constant from an object. PHP Success 3 years ago
Concat the value of a PHP class constant PHP Success 3 years ago
Proof that PHP is not multibyte safe by default PHP Success 3 years ago
Proof that a PHP __toString method may not return an integer PHP Runtime error 3 years ago
PHP version_compare example PHP Success 3 years ago
PHP Fatal error: Using $this when not in object context. PHP Runtime error 3 years ago