Changeset 1660

Show
Ignore:
Timestamp:
10/06/05 11:32:41
Author:
miyagawa
Message:

fix reference count handling and added tests

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • PHP-Session/trunk/Changes

    r1619 r1660  
    11Revision history for Perl extension PHP::Session 
     2 
     30.26  Thu Oct  6 02:30:52 UTC 2005 
     4        - Fixed the support for reference cound and added tests for that 
     5          (Thanks to Carl Stehle) 
    26 
    370.25  Tue Aug 23 22:13:33 UTC 2005 
  • PHP-Session/trunk/MANIFEST

    r936 r1660  
    2020t/12_newline.t 
    2121t/13_length.t 
     22t/14_refcnt.t 
    2223t/lib/TestUtil.pm 
    2324t/sess_bracket 
    2425t/sess_newline 
    2526t/sess_quote 
     27t/sess_refcnt 
  • PHP-Session/trunk/lib/PHP/Session.pm

    r1619 r1660  
    33use strict; 
    44use vars qw($VERSION); 
    5 $VERSION = 0.25
     5$VERSION = 0.26
    66 
    77use vars qw(%SerialImpl); 
  • PHP-Session/trunk/lib/PHP/Session/Serializer/PHP.pm

    r1619 r1660  
    33use strict; 
    44use vars qw($VERSION); 
    5 $VERSION = 0.24
     5$VERSION = 0.26
    66 
    77sub _croak { require Carp; Carp::croak(@_) } 
     
    270270        $decoder->process_value($7); 
    271271    } 
     272    elsif (defined $8) {        # reference 
     273        $decoder->process_value($8); 
     274    } 
    272275} 
    273276