php-unicode/examples/unicode.php

14 lines
308 B
PHP
Raw Normal View History

2016-03-16 23:11:31 +00:00
<?php
require_once __DIR__."/../vendor/autoload.php";
echo uchr(0x25B6);
uprintf("Hello \u1000 \"world\"\n");
uprintf("\u2581\u2582\u2583\u2584\u2585\u2586\u2587\u2589 \u2591\u2592\u2593\u2589\n");
uprintf("\u2610 Unchecked box\n");
uprintf("\u2611 Checked box\n");
uprintf("\u2612 Crossed out box\n");