📜  tcpdf 带花括号的数组和字符串偏移访问语法已弃用 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:36.154000             🧑  作者: Mango

代码示例2
if (!isset($dom[$key]['attribute']['size']) AND !isset($dom[$key]['style']['font-size'])) {
                            $headsize = (4 - intval($dom[$key]['value']{1})) * 2;
                            $dom[$key]['fontsize'] = $dom[0]['fontsize'] + $headsize;