3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{ "queueType" : "send" , "payload" : ["post",{"template":"CS - Credit Granted","email":"cgomes+mktotest-userregiste@learnvest.com","vars":{"amount":"$100.00","userId":345144147,"firstName":"Grace"},"options":[]}]}'; $b = json_decode($json); list($method, $paylod) = $b; print_r($method); print_r($paylod);

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0000.01816.61
8.3.50.0150.00522.07
8.3.40.0180.00018.88
8.3.30.0100.00318.43
8.3.20.0030.00619.20
8.3.10.0000.00821.90
8.3.00.0030.00520.95
8.2.180.0140.00716.60
8.2.170.0090.00622.96
8.2.160.0070.00720.35
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0000.00821.12
8.2.120.0040.00426.35
8.2.110.0050.00519.14
8.2.100.0060.01017.91
8.2.90.0030.00517.88
8.2.80.0030.00517.97
8.2.70.0000.00818.03
8.2.60.0090.00018.22
8.2.50.0000.00818.10
8.2.40.0000.00720.55
8.2.30.0030.00519.25
8.2.20.0000.00818.13
8.2.10.0000.00818.11
8.2.00.0000.00817.79
8.1.280.0140.00425.92
8.1.270.0030.00522.19
8.1.260.0060.00328.09
8.1.250.0000.00828.09
8.1.240.0030.00917.35
8.1.230.0060.00617.83
8.1.220.0040.00417.76
8.1.210.0000.00918.77
8.1.200.0070.00417.23
8.1.190.0080.00019.09
8.1.180.0040.00418.10
8.1.170.0060.00318.48
8.1.160.0070.00020.66
8.1.150.0060.00320.16
8.1.140.0000.01019.43
8.1.130.0000.00717.56
8.1.120.0000.00717.40
8.1.110.0000.00717.41
8.1.100.0000.00717.41
8.1.90.0070.00017.44
8.1.80.0040.00417.39
8.1.70.0030.00317.34
8.1.60.0040.00417.38
8.1.50.0060.00317.44
8.1.40.0030.00617.50
8.1.30.0080.00017.57
8.1.20.0080.00017.65
8.1.10.0000.00717.63
8.1.00.0070.00017.52
8.0.300.0040.00418.77
8.0.290.0030.00516.62
8.0.280.0000.01018.39
8.0.270.0070.00017.16
8.0.260.0050.00317.14
8.0.250.0030.00316.87
8.0.240.0040.00416.84
8.0.230.0030.00316.97
8.0.220.0030.00316.91
8.0.210.0030.00316.81
8.0.200.0030.00616.85
8.0.190.0040.00716.95
8.0.180.0000.00816.98
8.0.170.0040.00416.94
8.0.160.0040.00416.89
8.0.150.0000.00816.82
8.0.140.0070.00016.92
8.0.130.0000.00713.33
8.0.120.0040.00416.80
8.0.110.0000.00716.82
8.0.100.0040.00416.71
8.0.90.0040.00416.79
8.0.80.0000.01516.79
8.0.70.0050.00216.73
8.0.60.0070.00016.78
8.0.50.0030.00517.01
8.0.30.0120.00517.15
8.0.20.0100.00917.40
8.0.10.0000.00716.98
8.0.00.0090.00916.44
7.4.330.0000.00615.55
7.4.320.0000.00616.55
7.4.300.0000.00716.60
7.4.290.0070.00016.57
7.4.280.0040.00316.59
7.4.270.0040.00416.45
7.4.260.0000.00716.52
7.4.250.0040.00416.57
7.4.240.0040.00416.62
7.4.230.0000.00816.40
7.4.220.0180.00316.61
7.4.210.0100.01016.56
7.4.200.0000.00716.71
7.4.160.0120.00516.59
7.4.150.0110.01117.40
7.4.140.0130.00717.86
7.4.130.0070.01116.60
7.4.120.0060.01316.52
7.4.110.0000.01716.51
7.4.100.0100.00716.43
7.4.90.0090.01216.53
7.4.80.0160.00319.39
7.4.70.0030.01316.68
7.4.60.0090.00616.50
7.4.50.0030.01016.19
7.4.40.0090.00616.55
7.4.30.0070.01016.55
7.4.00.0090.00614.73
7.3.330.0000.00812.83
7.3.320.0050.00013.30
7.3.310.0030.00316.31
7.3.300.0070.00016.21
7.3.290.0060.00316.37
7.3.280.0060.01116.28
7.3.270.0070.01017.40
7.3.260.0100.00816.22
7.3.250.0100.00716.37
7.3.240.0150.00316.45
7.3.230.0130.00316.39
7.3.210.0170.00016.24
7.3.200.0150.00416.29
7.3.190.0110.00816.59
7.3.180.0150.00316.38
7.3.170.0080.01116.40
7.3.160.0030.01316.24
7.2.330.0090.01516.50
7.2.320.0100.01316.59
7.2.310.0090.00916.61
7.2.300.0090.01516.27
7.2.290.0070.01516.64
7.2.60.0070.00716.96
7.2.00.0030.00618.86
7.1.200.0090.00615.73
7.1.100.0040.00718.20
7.1.70.0060.00917.05
7.1.60.0030.01317.21
7.1.50.0000.01116.96
7.1.00.0030.07722.40
7.0.200.0030.01016.63
7.0.130.0070.06022.01
7.0.120.0200.06022.05
7.0.110.0170.06721.99
7.0.100.0030.06022.25
7.0.90.0100.07022.07
7.0.80.0030.06322.14
7.0.70.0170.04722.09
7.0.60.0100.05322.02
7.0.50.0070.05722.07
7.0.40.0030.06022.12
7.0.30.0100.05322.03
7.0.20.0170.04722.05
7.0.10.0030.06022.02
7.0.00.0170.05022.07
5.6.280.0170.05720.97
5.6.270.0100.05721.05
5.6.260.0130.06321.11
5.6.250.0170.05020.86
5.6.240.0070.06020.80
5.6.230.0000.06720.93
5.6.220.0130.05020.96
5.6.210.0130.05020.94
5.6.200.0030.06320.82
5.6.190.0100.05320.86
5.6.180.0130.05020.86
5.6.170.0130.05020.94
5.6.160.0100.05320.86
5.6.150.0070.06020.80
5.6.140.0130.05320.82
5.6.130.0130.05020.93
5.6.120.0130.05021.05
5.6.110.0130.05320.99
5.6.100.0070.06020.81
5.6.90.0100.05320.90
5.6.80.0030.05720.38
5.6.70.0130.04720.43
5.6.60.0030.06020.45
5.6.50.0100.05020.18
5.6.40.0170.04320.36
5.6.30.0100.05320.15
5.6.20.0070.05720.15
5.6.10.0130.04720.18
5.6.00.0130.05020.35

preferences:
35.7 ms | 401 KiB | 5 Q