3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo "date_end:" . strtotime(str_replace('.', '-', $item['date_end'])); echo "6 months ago:" . strtotime('6 month ago');
based on ZSuk0
Output for 5.6.28, 7.0.20 - 7.2.0
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1428482222
Output for 7.0.6
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1446549259
Output for 7.0.5
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1443826686
Output for 7.0.4
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1441878070
Output for 7.0.3
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1442571889
Output for 7.0.2
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1442938950
Output for 7.0.1
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1443041139
Output for 7.0.0
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1443305711
Output for 5.6.21
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1446445657
Output for 5.6.20
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1444427347
Output for 5.6.19
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1441647796
Output for 5.6.18
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1442283426
Output for 5.6.17
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1442673211
Output for 5.6.16
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1443399174
Output for 5.6.15
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1443488911
Output for 5.6.14
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1443755988
Output for 5.6.13
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1444893534
Output for 5.6.12
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1445289376
Output for 5.6.11
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1445573550
Output for 5.6.10
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1445756342
Output for 5.6.9
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1445947377
Output for 5.6.8
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1446149602
Output for 5.5.35
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1448187249
Output for 5.5.34
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1444522231
Output for 5.5.33
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1441744871
Output for 5.5.32
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1442463768
Output for 5.5.31
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1442769410
Output for 5.5.30
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1443668591
Output for 5.5.29
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1445030816
Output for 5.5.28
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1445387779
Output for 5.5.27
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1445482394
Output for 5.5.26
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1445851878
Output for 5.5.25
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1446047866
Output for 5.5.24
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1448319946
Output for 5.4.45
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1432024906
Output for 5.4.44
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1432024907
Output for 5.4.43
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1432024908
Output for 5.4.41 - 5.4.42
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1432024909
Output for 5.4.38 - 5.4.40
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1432024910
Output for 5.4.36 - 5.4.37
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1432024911
Output for 5.4.34 - 5.4.35
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1432024912
Output for 5.3.29, 5.4.30 - 5.4.32
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1432024913
Output for 5.4.26 - 5.4.29
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1432024914
Output for 5.3.28, 5.4.23 - 5.4.25
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1432024915
Output for 5.4.19 - 5.4.22
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1432024916
Output for 5.3.26 - 5.3.27, 5.4.17 - 5.4.18
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1432024917
Output for 5.3.23 - 5.3.25, 5.4.13 - 5.4.16
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1432024918
Output for 5.3.20 - 5.3.22, 5.4.9 - 5.4.12
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1432024919
Output for 5.3.18 - 5.3.19, 5.4.8
Notice: Undefined variable: item in /in/s01us on line 2 date_end:6 months ago:1432024920