负数字符串经过int处理之后还是负数

<?php
$v = '-1';
$b = (int)$v;
echo $b;

原文地址:https://www.cnblogs.com/jiqing9006/p/10579628.html