3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = ' \pm \cap \diamond \oplus \mp \cup \bigtriangleup \ominus \times \uplus \bigtriangledown \otimes \div \sqcap \triangleleft \oslash \ast \sqcup \triangleright \odot \star \vee \lhd \bigcirc \circ \wedge \rhd \dagger \bullet \setminus \unlhd \ddagger \cdot \wr \unrhd \amalg '; $x = array_filter(preg_split('/\s+/', $x)); sort($x); foreach ($x as $xx) { var_export($xx);echo ",\n"; }

preferences:
31.01 ms | 402 KiB | 5 Q