|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-08-06 14:48 UTC] alex at kiesel dot name
[2008-08-06 14:54 UTC] derick@php.net
[2008-08-08 09:09 UTC] alex at kiesel dot name
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 08 12:00:02 2025 UTC |
Description: ------------ PHP segfaults after issueing a WARNING. Reproduce code: --------------- <?php $date= date_create('2008-08-01 20:11:01+0200'); date_timezone_set($date, date_timezone_get($date)); ?> Expected result: ---------------- Warning: date_timezone_set(): Can only do this for zones with ID for now in /home/ak/timezone-segfault.php on line 4 Actual result: -------------- Warning: date_timezone_set(): Can only do this for zones with ID for now in /home/ak/timezone-segfault.php on line 4 Segmentation fault