如何在label_htm中传递php代码我想在此字段中显示计数

"My tasks" => array(
        "title" => "My tasks",
        "label_htm" => '<span class="badge pull-right inbox-badge margin-right-13">2</span>',
        "icon" => "fa-slack",

        'url' => APP_URL.'/my_task.php'
        ),

Just instead 2 value, concat this string with PHP variable, i.e.:

'<span class="badge pull-right inbox-badge margin-right-13">' . $count . '</span>'
$count_num = 2; 

    "My tasks" => array(
            "title" => "My tasks",
            "label_htm" => '<span class="badge pull-right inbox-badge margin-right-13">'.$count_num.'</span>',
            "icon" => "fa-slack",

            'url' => APP_URL.'/my_task.php'
            ),