集合初始化

数组和集合 / 集合(Set)

<?php

//PHP 中没有 Set 类型,改用数组
$intSet = [1, 2, 3];
$strSet = ["one", "two", "three"];