Command Line Php Result Segmentation Fault

I have a code in command line, but if is run it, drop Segmentation fault. If i run it in browser, dont run is perfect. Any idea?

Linux CentOs.

If i delete this record from config, dont drop error.





This is yii, or php bug? Or i’am the… :rolleyes:

This is the file/class if drop error:

class MyDate {


    public function convertDate($dateString) {

	$myDateTime = DateTime::createFromFormat('Ymdhis', $dateString);

	return $myDateTime ? $myDateTime->format('Y-m-d H:i:s') : null;