Code
© potherca

Last code:
2019-11-12 16:16:38

Page creation date:
2013-05-09 16:51:43
sort:  date
Filter out empty parameters in BASH Bash Success 2 days ago
Python Success 50 days ago
Python Compilation error 50 days ago
Comparing path and path with dot. PHP Success 1 year ago
Answer to http://www.spoj.com/problems/TEST/ PHP Success 1 year ago
Proof that a PHP class can not have both a static and non-static method with the same name. PHP Success 1 year ago
Comparison of Callable and Closure type hint in PHP PHP Success 2 years ago
Example demonstrating a ClosedGeneratorException being caught outside of a Generator in PHP. PHP Success 2 years ago
Example of catching a ClosedGeneratorException inside a Generator in PHP PHP Success 2 years ago
PHP Example of using `array_walk()` instead of `foreach`. PHP Success 2 years ago
Example of `array_walk()` and `foreach` using `list()` PHP Success 2 years ago
Cheaper solution to find out if a class is abstract, instead of using ReflectionObject PHP Success 2 years ago
Getting a sub-string of an empty string. PHP Success 3 years ago
Circular class inheritance in PHP PHP Runtime error 3 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 3 years ago
PHP Success 3 years ago
Using emoji characters as PHP functions/variables. PHP Success 3 years ago
Using UTF8 characters as PHP functions/variables. PHP Success 3 years ago
Casting NULL to an array in PHP PHP Success 3 years ago
From String to char in C. C Compilation error 4 years ago
Yet another approach of making code more readable. Source: https://medium.com/@dylanbr/writing-highly-readable-code-94da94d5d636 PHP Runtime error 4 years ago
Example suing strlen in C C Success 4 years ago
Using a class constant from an object. PHP Success 4 years ago
Concat the value of a PHP class constant PHP Success 4 years ago
Proof that PHP is not multibyte safe by default PHP Success 4 years ago