3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $datetime = new DateTime($result['date']); echo $datetime->format('Y-m-d\TH:i:sP'); ?> echo $datetime->format('Y-m-d\TH:i:sP');
based on iI8ai
Output for 5.6.28, 7.0.20 - 7.2.0
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-01-25T07:13:31+01:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 7.0.6
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-05-21T14:17:22+02:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 7.0.5
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-04-03T10:10:27+02:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 7.0.4
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-03-10T22:18:07+01:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 7.0.3
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-03-18T23:54:18+01:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 7.0.2
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-03-23T06:01:21+01:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 7.0.1
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-03-24T09:03:50+01:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 7.0.0
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-03-27T10:55:05+02:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 5.6.21
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-05-02T17:05:18+02:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 5.6.20
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-04-10T09:12:24+02:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 5.6.19
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-03-08T06:28:14+01:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 5.6.18
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-03-15T15:28:23+01:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 5.6.17
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-03-20T03:00:46+01:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 5.6.16
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-03-28T11:44:58+02:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 5.6.15
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-03-29T12:34:48+02:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 5.6.14
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-04-14T18:17:45+02:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 5.6.13
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-04-15T18:56:52+02:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 5.6.12
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-04-20T09:27:49+02:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 5.6.11
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-04-24T15:53:44+02:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 5.6.10
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-04-25T17:58:59+02:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 5.6.9
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-04-27T23:28:06+02:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 5.6.8
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-04-30T07:54:14+02:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 5.5.35
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-05-23T03:19:10+02:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 5.5.34
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-04-11T11:26:56+02:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 5.5.33
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-03-09T09:33:31+01:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 5.5.32
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-03-17T19:28:26+01:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 5.5.31
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-03-21T06:15:50+01:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 5.5.30
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-04-01T14:25:47+02:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 5.5.29
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-04-17T09:14:06+02:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 5.5.28
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-04-21T12:47:49+02:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 5.5.27
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-04-22T14:24:13+02:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 5.5.26
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-04-26T20:41:15+02:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 5.5.25
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-04-29T04:08:57+02:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 5.5.24
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-05-24T10:39:29+02:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 5.4.45
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-01-25T07:13:34+01:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 5.4.42 - 5.4.44
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-01-25T07:13:35+01:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 5.4.41
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-01-25T07:13:36+01:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 5.4.40
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-01-25T07:13:37+01:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 5.4.38 - 5.4.39
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-01-25T07:13:38+01:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 5.4.36 - 5.4.37
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-01-25T07:13:39+01:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 5.4.34 - 5.4.35
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-01-25T07:13:40+01:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 5.3.29, 5.4.30 - 5.4.32
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-01-25T07:13:41+01:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 5.4.26 - 5.4.29
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-01-25T07:13:42+01:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 5.4.23 - 5.4.25
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-01-25T07:13:43+01:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 5.3.28, 5.4.20 - 5.4.22
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-01-25T07:13:44+01:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 5.3.27, 5.4.18 - 5.4.19
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-01-25T07:13:45+01:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 5.3.24 - 5.3.26, 5.4.15 - 5.4.17
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-01-25T07:13:46+01:00 echo $datetime->format('Y-m-d\TH:i:sP');
Output for 5.3.22 - 5.3.23, 5.4.12 - 5.4.14
Notice: Undefined variable: result in /in/Riaf4 on line 4 2016-01-25T07:13:47+01:00 echo $datetime->format('Y-m-d\TH:i:sP');