@@ 488-492 (lines=5) @@ | ||
485 | if ($session_data) { |
|
486 | $session_data = preg_replace_callback( |
|
487 | '!s:(d+):"(.*?)";!', |
|
488 | function ($match) { |
|
489 | return $match[1] === strlen($match[2]) |
|
490 | ? $match[0] |
|
491 | : 's:' . strlen($match[2]) . ':"' . $match[2] . '";'; |
|
492 | }, |
|
493 | $session_data |
|
494 | ); |
|
495 | } |
|
@@ 1039-1047 (lines=9) @@ | ||
1036 | $error = "<pre>"; |
|
1037 | $data2 = preg_replace_callback( |
|
1038 | '!s:(\d+):"(.*?)";!', |
|
1039 | function ( $match ) { |
|
1040 | return ( $match[1] === strlen( $match[2] ) ) |
|
1041 | ? $match[0] |
|
1042 | : 's:' |
|
1043 | . strlen( $match[2] ) |
|
1044 | . ':"' |
|
1045 | . $match[2] |
|
1046 | . '";'; |
|
1047 | }, |
|
1048 | $data1 |
|
1049 | ); |
|
1050 | $max = ( strlen( $data1 ) > strlen( $data2 ) ) ? strlen( $data1 ) : strlen( $data2 ); |