- abs: documentation ( source)
- time: documentation ( source)
- str_replace: documentation ( source)
- date: documentation ( source)
<?php
$toto = "SIGNY L'ABBAYE";
echo str_replace("'", "\'", ($toto))."\n";
$timestamp = 1397810281;
echo "timestamp 1397810281 : ".date("Y-m-d H:i:s", $timestamp)."\n";
$time = time();
echo "time : ".$time."\n";
echo "diff = ".abs($timestamp-$time)."\n";