Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

--TEST-- Bug #75457 (heap-use-after-free in php7.0.25) --FILE-- <?php $pattern = "/(((?(?C..

Decoded Output download

--TEST--
Bug #75457 (heap-use-after-free in php7.0.25)
--FILE--
<?php
$pattern = "/(((?(?C)0?=))(?!()0|.(?0)0)())/";
var_dump(preg_match($pattern, "hello"));
?>
--EXPECTF--
Warning: preg_match(): Compilation failed: assertion expected after (?( or (?(?C) at offset 8 in %sbug75457.php on line %d
bool(false)

Did this file decode correctly?

Original Code

--TEST--
Bug #75457 (heap-use-after-free in php7.0.25)
--FILE--
<?php
$pattern = "/(((?(?C)0?=))(?!()0|.(?0)0)())/";
var_dump(preg_match($pattern, "hello"));
?>
--EXPECTF--
Warning: preg_match(): Compilation failed: assertion expected after (?( or (?(?C) at offset 8 in %sbug75457.php on line %d
bool(false)

Function Calls

var_dump 1
preg_match 1

Variables

$pattern /(((?(?C)0?=))(?!()0|.(?0)0)())/

Stats

MD5 08b1fd8fe148de148badcb7f7053c756
Eval Count 0
Decode Time 80 ms