3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $emailAsignadoaIncidencia = 'dmattos1855@gmail.com'; $json = '{"fromEmail":"fvignali@gmail.com","fromName":"Soporte LATU","toEmail":",fvignali@gmail.com","ccEmail":"","bccEmail":"","subject":"La subincidencia perteneciente a la incidencia prueba se finaliz\u00f3","content":"<html>\r\n<head>\r\n\t<title><\/title>\r\n<\/head>\r\n<body class=\"scayt-enabled\">Estimado usuario,<br \/>\r\n<br \/>\r\nSe finaliz&oacute; la subincidencia&nbsp;18-01, correspondiente a la incidencia&nbsp;prueba.<br \/>\r\n<br \/>\r\nSaludos, cordiales.<\/body>\r\n<\/html>\r\n"}'; $a = explode('"toEmail":",',$json); $email=explode('","',$a[1]); echo $email[0]; $email[0] = $emailAsignadoaIncidencia; $ret = $a[0]+$email[0]+$email[1]; echo $ret;
based on paUQf
Output for 7.1.0 - 7.2.0
fvignali@gmail.com Warning: A non-numeric value encountered in /in/aLhZt on line 8 Warning: A non-numeric value encountered in /in/aLhZt on line 8 Warning: A non-numeric value encountered in /in/aLhZt on line 8 0
Output for 5.3.18 - 7.0.20
fvignali@gmail.com0