A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: Query/Parser.php

Line Number: 2326

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: Query/Parser.php

Line Number: 2326

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: Query/Parser.php

Line Number: 2326

Tests for base64_encode version 11 | JsPHP: a JavaScript library providing the PHP API

Tests: base64_encode version 11

Function:
Description: Encodes string using MIME base64 algorithm.
Version:
Status: obsolete
Date: 2011-12-27 15:03
Summary: Fixed typo.
Programmer: jj5
Tests
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
function base64_encode_tests() {

  // API reference: http://docs.jquery.com/QUnit
  module( "base64_encode" );

  test( "base64_encode", function() {

    equal( base64_encode( '' ), '' );
    equal( base64_encode( 'a' ), 'YQ==' ); 
    equal( base64_encode( 1 ), 'MQ==' );
    equal( base64_encode( '1' ), 'MQ==' );
    equal( base64_encode( '漢字仮名交じり文' ), '5ryi5a2X5Luu5ZCN5Lqk44GY44KK5paH' );

  } );

}
[top]

Comments

There are no comments yet, be the first!

Please Login or Register to post comments.