3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $item = '{ "account_id": { "S": "20344271" }, "api_version": { "S": "v2.8" }, "campaign_id": { "S": "6064280240797" }, "currency": { "S": "USD" }, "data": { "B": "H4sIAAAAAAAAA82X207jSBCGX8Xy7RLU54PvmIFl2V0YNGQuVitktbvbSQ+OO7IdNAzi3bfsEJLhlFnECKRcxN1/V1fVV1VOrtPg0iwVSDCiEGFIapnupLWZeVjeP0xOzcQnHyvTtrAci6/eduGy3zvdOzzI/z766+AMNtrOdIt2WP1ydrC/XGm6vAuDHYKwHCE8wnSMZMZxhtUIKYRAZxtvOu+eVsqVcjF3D5UExGOsMyIzxlZKX5ZLN/OHfhnX+g5WrlOwZtLs3+t7GSB0yIA1s7kJkzp/ND8/7/XP5uHR6PCI8DFSGWUZoitlEaoq1JPcX/q6A+nR8enng7Ozo08nPYli4Sa+yxs/M6EGGQgYGs45E6qrfLm/Xn0kVx/3jk/3jg5P8ruk3ZbDl7NklGD1W18Jc3A0fDddiHU+iaa6XxEQNtwzOHCdQg3lM/MtzQTfWT6EOoXg4fpvtlo4iNvGuu4diXW7hkK04IxzjCRFnOm1J+Opn3pTddNQl7GNi8b69OZ8Jy0r/y0UFQQz93Zpp+5849tuwyoWSHHNFdWUYyU2zH6q69ClNzt3NYEoEVQqjDFbq46jMyUkt/pRSYnkSjCm1srP0+hCrEzSxNabe3KIiYHxjXY7DPXFJCYAOBb31IIhphhnYiMHYZb87psmQGtuahnmXErEkXjoyKYQU8UU0YxwvBZ+CHFq7EXP7U6qtMQAglAhGWYbidg3lz7Za+eNvxqy793CLitiZr7GZjPliCFFKdWCSLI5YU78AnJjg68Hgr2Via+dHw7j4SnmVVyaHdrWxkXdNcH3AqjIFDSr/by7mi/XpxGs76SNt32PnN/spPNFUYV26pt8XpmujM1sEJbG+iLGi97M6ns+j21YVWJaeu96U2Ey7fKpqftSrRazuj/h/GWw/keLswj8+sudby+6OB9uh6nz9MgRtyNnGE35L5hGBG+ZMliMscoYzdCd8ulGgxlwUE+gi2eQW3g4mvWvCLbyY3g73I8Q003oUGTJH1BlyT9gMPnQwKQaod5AEd3V8tKkgJ5Nbi+E3EJTxNFtZe4mvQBy3kugt71p7HQ3OYm9l5Okgw5aXO0mf8ZQJ4s2AWRJFS48fN+9e4flT8yX0AcDmNspbEtDCosMKoniRmrtC42sFVo6B0uYr631hXc7AfvZF7rqiTjTm40OXCYHRtFb45djpDNEMiJeip8/h58rvhU/fX/4OSZF6RAnuBSuH18WkRIrIpwvECnoK+EX+q3xr7qfqJfip8/i53orfvL+8EtSSutw4QUyEnuCnCs4UwWGM0YW/pXwszfvfj7GNOsr4MXdT57FT7d3P35/+IWiohQMW+KRLZQmVDrreznWJS/xK+G/pfjm+PXG/6f/i188h59pvBU/en/4pS6csVwaDROfiJJxCuF4ZksPB41+HfxM4F+Lf8vf57vhTzL24uGPn8XP5Bb87489YkTAzz2GhZKsxI4XXBcKfv1RzQxyL3zxnw+f/wDa1W1XcREAAA==" }, "date": { "S": "2017-06-28" }, "posts": { "B": "H4sIAAAAAAAAA4uOBQApu0wNAgAAAA==" } }'; echo sizeof($item);
Output for 7.2.0 - 7.2.6
Warning: sizeof(): Parameter must be an array or an object that implements Countable in /in/hGRH6 on line 27 1
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.1.20
1