<?php $str='[0,"^(\\\\w)+$","Your email is unvailable"]';$arr= json_decode($str,true);var_dump($arr); // null
Standard input is empty
array(3) { [0]=> int(0) [1]=> string(7) "^(\w)+$" [2]=> string(24) "Your email is unvailable" }
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!