1--TEST-- 2Bug #72165 Null pointer dereference - openssl_csr_new 3--EXTENSIONS-- 4openssl 5--FILE-- 6<?php 7$var0 = [0 => "hello", 1 => "world"]; 8$options = ['config' => __DIR__ . DIRECTORY_SEPARATOR . 'openssl.cnf']; 9$var2 = openssl_csr_new([0], $var0, $options, [0]); 10?> 11--EXPECTF-- 12Warning: openssl_csr_new(): attributes: numeric fild names are not supported in %sbug72165.php on line %d 13 14Warning: openssl_csr_new(): add1_attr_by_txt challengePassword_min -> 4 (failed; check error queue and value of string_mask OpenSSL option if illegal characters are reported) in %sbug72165.php on line %d 15