1--TEST--
2Bug #62443 Crypt SHA256/512 Segfaults With Malformed Salt
3--FILE--
4<?php
5crypt("foo", '$5$'.chr(0).'abc');
6crypt("foo", '$6$'.chr(0).'abc');
7echo "OK!";
8?>
9--EXPECT--
10OK!
11