HEX
Server: Apache
System: Linux vps-15179318.kohladvogados.com.br 5.14.0-611.49.2.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Apr 30 09:05:08 EDT 2026 x86_64
User: kohlsol (1004)
PHP: 8.3.32
Disabled: NONE
Upload Files
File: /home/.cpan/build/JSON-4.11-0/t/x17_strange_overload.t
use strict;
use Test::More;
BEGIN { plan tests => 2 };

BEGIN { $ENV{PERL_JSON_BACKEND} ||= 1; }

SKIP: {
    skip "for JSON::XS 3.x. cimpatible. Please see to Changes.", 2;

    eval q{
        use JSON::XS;
        use JSON ();
    };

    skip "can't use JSON::XS.", 2, if $@;
    skip "JSON::XS version < " . JSON->require_xs_version, 2
            if JSON::XS->VERSION < JSON->require_xs_version;

    is("" . JSON::XS::true(), 'true');
    is("" . JSON::true(),     'true');
}