404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@3.145.165.239: ~ $
--TEST--
crc32c() errors test
--SKIPIF--
<?php
if (!extension_loaded('crc32c')) {
    echo 'skip';
}
?>
--FILE--
<?php

// The only valid 2nd argument is null
var_dump(crc32c('ABCDEFG', null));

var_dump(crc32c('ABCDEFG', ''));
var_dump(crc32c('ABCDEFG', 0));
var_dump(crc32c('ABCDEFG', 0x12345678));
var_dump(crc32c('ABCDEFG', '12345678'));

// TODO test no argument, or non-string argument.

?>
--EXPECTF--
string(4) ",wVe"

Warning: crc32c(): Supplied crc must be a 4 byte string in %s on line %d
bool(false)

Warning: crc32c(): Supplied crc must be a 4 byte string in %s on line %d
bool(false)

Warning: crc32c(): Supplied crc must be a 4 byte string in %s on line %d
bool(false)

Warning: crc32c(): Supplied crc must be a 4 byte string in %s on line %d
bool(false)

Filemanager

Name Type Size Permission Actions
001_loaded.phpt File 213 B 0644
002_basic.phpt File 3.4 KB 0644
003_extend.phpt File 720 B 0644
004_error.phpt File 769 B 0644
005_hash.phpt File 357 B 0644