php - Notice: Undefined offset: 1 in -


  फ़ंक्शन मिल ($ a, $ b, $ c) {$ y = विस्फोट ($ b, $ a ); $ X = विस्फोट ($ c, $ y [1]); वापसी $ x [0]; }  

त्रुटि देता है

नोटिस: अपरिभाषित ऑफ़सेट: 1 में

$ y [1] सेट नहीं है।

आपको इसे विस्फोट के माध्यम से चलाने से पहले एक मूल्य की जांच करने की आवश्यकता है ।

  $ y = विस्फोट ($ b, $ a); यदि (एसेट ($ y [1])) {$ x = विस्फोट ($ c, $ y [1]); वापसी (isset ($ x [0]))? $ X [0]: ''; } अन्य {वापसी ''; }  

Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

How to access user directory in lazarus? -

java - Gradle dependencies: compile project by relative path -