1--TEST-- 2iconv_strlen() charset parameter length checks (CVE-2007-4840) 3--EXTENSIONS-- 4iconv 5--FILE-- 6<?php 7$a = str_repeat("/", 9791999); 8var_dump(iconv_strlen(1, $a)); 9?> 10--EXPECTF-- 11Warning: iconv_strlen(): Encoding parameter exceeds the maximum allowed length of 64 characters in %s on line %d 12bool(false) 13