PHP: Create a date/ timestamp with strtotime by setting the time
Everyone knows the strtotime function. With this one, for example, we can recover the date of 2 weeks ago, strtotime
Read moreEveryone knows the strtotime function. With this one, for example, we can recover the date of 2 weeks ago, strtotime
Read moreUsing mock it is often necessary to give a value to a private or protected variable. To do this, just
Read moreTo make a personalized relationship between two tables in a model, it is possible to add an additional option in
Read moreAfter a sprint, all the local branches you have are useless and take up space. Below is a small order
Read moreWhen you start using PHPunit, you often find yourself faced with the need to simulate a method or object. Fortunately
Read moreTo view its local and remote branches $ git branch -a only remotes $ git branch -r For the list
Read moreWhen we have to process a very large xml, it is unfortunately not possible to use simpleXML. Fortunately for this,
Read moreWhen you want to process an XML file in PHP, there are two possibilities. Either we use simpleXML or we
Read moreTo find out how to load a file in PHP from a form you have to start by formatting the
Read moreIt can happen that a function is only called from an interface (console, apache …). There is a function that
Read more