Laravel dd() equivalent for Cake PHP -


i know if there equivalent method laravel method dd() cake php. if don't know, dd() dump given variable , end execution of script.

thanks you.

try adding prd() function bootstrap.php

function prd($var) {     pr($var);     die; } 

source: http://debuggable.com/posts/make-your-life-easier-with-these-five-cakephp-quicktips:48170ee5-0cc0-4815-af60-7c264834cda3

you add cakephp/app/config/helpers.php


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -