Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63236 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 35174 invoked from network); 25 Sep 2012 12:02:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Sep 2012 12:02:47 -0000 Authentication-Results: pb1.pair.com smtp.mail=lonnyk@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=lonnyk@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.223.170 as permitted sender) X-PHP-List-Original-Sender: lonnyk@gmail.com X-Host-Fingerprint: 209.85.223.170 mail-ie0-f170.google.com Received: from [209.85.223.170] ([209.85.223.170:62854] helo=mail-ie0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 69/28-58640-66D91605 for ; Tue, 25 Sep 2012 08:02:46 -0400 Received: by iebc12 with SMTP id c12so13848311ieb.29 for ; Tue, 25 Sep 2012 05:02:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=6/35+4frgQhSKcdT/SGQqpMitEcpTzGrExrjHIIaCFQ=; b=g1iCeSdc07k870gJimTuYn+8uG4QwrL1yuMLiNHr0/aceDJBrhChi+T5/NyiQ7Tbnu OcQPCZlX5Qoo4d8R1lnETx5din6RVytcgf2cNHkvWzAiNCaRkEgjZa80O7ZrZFo4/YZm vj10KnvuBfFfPRRCAbKagktKjHah195qJfIt0Yj8tMBOTOAnC7T0gRfuGHWaFdLrvQeq AhzGdzERpj3zLO52duNKzq3VDZEb6a0aaL05Zbrp81AT+Y2g3QcCYb/CAYYwZFby2q1a nJbzgvawNouSKZrHYAqneWIeeIhLIm0VIIG4MKuJ/L2RbCbg7pO/P5qA6Im//F2va+gp 8EWw== MIME-Version: 1.0 Received: by 10.50.33.138 with SMTP id r10mr8052016igi.31.1348574563414; Tue, 25 Sep 2012 05:02:43 -0700 (PDT) Received: by 10.42.154.202 with HTTP; Tue, 25 Sep 2012 05:02:43 -0700 (PDT) Date: Tue, 25 Sep 2012 08:02:43 -0400 Message-ID: To: PHP Internals Cc: Derick Rethans Content-Type: multipart/alternative; boundary=f46d0447f05ece318304ca857bd4 Subject: DateTimeZone Serialize/Unserialize From: lonnyk@gmail.com (Lonny Kapelushnik) --f46d0447f05ece318304ca857bd4 Content-Type: text/plain; charset=ISO-8859-1 Morning! I was creating a patch to allow serialize/unserialize of the DateTimeZone object. When running `make test` I found that we already have a test for the serialize/unserialize of DateTimeZone. The test checks that we are _not_ able to serialize/unserialize the DateTimeZone object: https://github.com/php/php-src/blob/PHP-5.4/ext/date/tests/DateTimeZone_serialize.phpt Is the test correct or do we want to be able to serialize/unserialize DateTimeZone? If the test is correct, why do we not want to be able to serialize/unserialize DateTimeZone objects? Thank you! -- Lonny Kapelushnik http://lonnylot.com (732) 807-5509 --f46d0447f05ece318304ca857bd4--