<?php//PHP 中没有 Dictionary 类型,改用数组//空字典$d1 = [];//用一些数据初始化$numbers = [ 1 => "one", 2 => "two"];echo "d1 count is ", count($d1), "\n";print_r($numbers);