I got a strange issue on PHP, i'm trying to cast a string to integer and got as result an empty int variable...
The variable is originally a string extracted from Visual Composer template variable.
<?php
var_dump($sec_id);
$sec_id = (int)$sec_id;
var_dump($sec_id);
?>
Here is the output:
Do I forget something?