kphp
kphp copied to clipboard
compiler/pipes: added checks for supported second argument of json_decode()
Please integrate it. and add unit-test:
test should fails:
<?php
$arg = json_decode("{a:1}" );
This code wrote with helping @unserialize to improve compile-time checks and avoid runtime errors.