I work with php 7.1.4 and when I do an echo of the date () function with the integer 1540193140046 it returns a malformed value (view image). However if I do the same thing using this tool it returns the correct value: Monday, 22 October 2018 7:25:40.046
What is the reason?