February 23-25, 2022
Online, Timezone GMT-5

Watch the Clock

Creating current time information in code is rather easy by calling time() or new DateTimeImmutable() directly when the information is necessary. But that then makes the code a nightmare to test.

In this session we will see how the new PSR-20 allows us to change that by still making it easy to generate current time information but also allowing one to test the code. And we will get some background info why it was designed in such a way.


View all 145 sessions

Andreas Heigl

stella-maris.solutions

Andreas helps solving problems via his company stella-maris.solutions. He sometimes even uses code for that. His special interests are in weird topics like time and calendars, odd technologies like LDAP and organizational challenges related to remote work. Besides his family and contributions to different open-source-projects he still finds the time to co-run PHPUGFFM, the PHP-Usergroup in Frankfurt/Main and maintain PHP.ug.

Read More