3v4l.org

run code in 300+ PHP versions simultaneously
<?php phpversion(); //$json = {"product_id":"844","variation_id":"","variation":"","quantity":"1","data":{"id":844,"post":{"ID":844,"post_author":"1","post_date":"2014-10-30 13:22:57","post_date_gmt":"2014-10-30 12:22:57","post_content":"","post_title":"Bunions Disc","post_excerpt":"","post_status":"publish","comment_status":"open","ping_status":"closed","post_password":"","post_name":"bunions-disc","to_ping":"","pinged":"","post_modified":"2015-03-10 11:49:15","post_modified_gmt":"2015-03-10 11:49:15","post_content_filtered":"","post_parent":0,"guid":"http:\/\/wp.pdm.dev\/?post_type=product&#038;p=844","menu_order":0,"post_type":"product","post_mime_type":"","comment_count":"0","filter":"raw"},"product_type":"simple"}}; //$object = json_decode($json); //var_dump($object);

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)
7.3.120.0110.00314.80
7.3.110.0100.00314.61
7.3.100.0040.00714.83
7.3.90.0040.01114.87
7.3.80.0040.00814.38
7.3.70.0070.00414.24
7.3.60.0060.00914.34
7.3.50.0000.01414.68
7.3.40.0070.00714.18
7.3.30.0000.01714.61
7.3.20.0030.00916.55
7.3.10.0070.00916.49
7.3.00.0040.00616.61
7.2.240.0040.00814.94
7.2.230.0030.01314.67
7.2.220.0050.00714.96
7.2.210.0050.00514.87
7.2.200.0060.00614.53
7.2.190.0070.00714.57
7.2.180.0000.01414.94
7.2.170.0000.01614.49
7.2.160.0000.01014.58
7.2.150.0070.00716.60
7.2.140.0040.00416.61
7.2.130.0050.00616.65
7.2.120.0020.01116.56
7.2.110.0030.00916.55
7.2.100.0030.00916.49
7.2.90.0100.00416.52
7.2.80.0080.00716.54
7.2.70.0060.00416.40
7.2.60.0070.00916.67
7.2.50.0020.01216.70
7.2.40.0020.00816.72
7.2.30.0080.01016.66
7.2.20.0050.01116.66
7.2.10.0050.00916.64
7.2.00.0050.00917.40
7.1.330.0070.01015.57
7.1.320.0070.00715.55
7.1.310.0130.00015.76
7.1.300.0040.01115.57
7.1.290.0060.00615.42
7.1.280.0030.01015.54
7.1.270.0040.00815.62
7.1.260.0000.01015.55
7.1.250.0070.00615.67
7.1.100.0070.00717.88
7.1.70.0040.00417.00
7.1.60.0110.01519.57
7.1.50.0060.01016.73
7.1.00.0000.08022.48
7.0.200.0030.00716.33
7.0.140.0070.07021.94
7.0.60.0170.07319.96
7.0.50.0070.08017.80
7.0.40.0030.04319.90
7.0.30.0330.07320.32
7.0.20.0370.07720.02
7.0.10.0100.07020.00
7.0.00.0130.07720.19
5.6.280.0070.09021.07
5.6.210.0100.06020.56
5.6.200.0070.08018.18
5.6.190.0070.04320.29
5.6.180.0370.03720.77
5.6.170.0270.07720.49
5.6.160.0070.06020.48
5.6.150.0070.05018.08
5.6.140.0030.06718.11
5.6.130.0030.08718.11
5.6.120.0000.04321.09
5.6.110.0070.07720.96
5.6.100.0030.07720.88
5.6.90.0100.08021.01
5.6.80.0200.06720.46
5.5.350.0370.06720.46
5.5.340.0130.03717.95
5.5.330.0070.08720.56
5.5.320.0170.04320.41
5.5.310.0200.03720.30
5.5.300.0030.03717.88
5.5.290.0030.04017.96
5.5.280.0000.04320.87
5.5.270.0070.08720.87
5.5.260.0170.07720.83
5.5.250.0030.09020.69
5.5.240.0030.07720.17
5.4.450.0530.05719.41
5.4.440.1030.07019.12
5.4.430.1170.05719.60
5.4.420.0970.06019.27
5.4.410.1100.05019.35
5.4.400.1070.06019.08
5.4.390.0970.06018.91
5.4.380.0130.06318.61
5.4.370.0230.05718.62
5.4.360.0270.04718.70
5.4.350.0130.06018.57
5.4.340.0230.04718.74
5.4.320.0200.05318.67
5.4.310.0230.05018.71
5.4.300.0100.06018.52
5.4.290.0170.05318.58
5.4.280.0130.06318.61
5.4.270.0270.05318.69
5.4.260.0070.06318.73
5.4.250.0170.05318.61
5.4.240.0230.04718.70
5.4.230.0130.05318.55
5.4.220.0130.05718.76
5.4.210.0130.05318.69
5.4.200.0200.04316.38
5.4.190.0170.07318.57
5.4.180.0130.05318.76
5.4.170.0200.05318.76
5.4.160.0130.06018.70
5.4.150.0130.05718.71
5.4.140.0130.05716.17
5.4.130.0230.04716.19
5.4.120.0270.06016.20
5.4.110.0330.05316.22
5.4.100.0230.04316.19
5.4.90.0170.05316.31
5.4.80.0170.05016.30
5.4.70.0200.05316.17
5.4.60.0130.06316.13
5.4.50.0200.06716.02
5.4.40.0130.05716.27
5.4.30.0100.06016.12
5.4.20.0230.04316.13
5.4.10.0200.04316.18
5.4.00.0200.04315.75
5.3.290.0270.06014.64
5.3.280.0170.05014.62
5.3.270.0270.04714.70
5.3.260.0230.05014.51
5.3.250.0100.06014.58
5.3.240.0130.06314.52
5.3.230.0330.04014.50
5.3.220.0300.04714.54
5.3.210.0170.05714.61
5.3.200.0170.05714.46
5.3.190.0170.05714.46
5.3.180.0300.04314.49
5.3.170.0300.04014.50
5.3.160.0130.05314.55
5.3.150.0230.05014.49
5.3.140.0100.05714.51
5.3.130.0130.06014.47
5.3.120.0100.07014.55
5.3.110.0170.06014.54
5.3.100.0300.04714.13
5.3.90.0230.04713.93
5.3.80.0170.05314.04
5.3.70.0200.04713.91
5.3.60.0130.05314.09
5.3.50.0270.04013.89
5.3.40.0200.04313.89
5.3.30.0100.05313.86
5.3.20.0130.05313.72
5.3.10.0100.05713.65
5.3.00.0270.04713.54
5.2.170.0100.04711.29
5.2.160.0130.04011.10
5.2.150.0130.04311.17
5.2.140.0170.04011.29
5.2.130.0100.04311.26
5.2.120.0130.03711.07
5.2.110.0130.04311.08
5.2.100.0030.05011.13
5.2.90.0100.04711.10
5.2.80.0100.04311.15
5.2.70.0130.04311.08
5.2.60.0130.04311.01
5.2.50.0070.05311.00
5.2.40.0170.03710.95
5.2.30.0100.04711.02
5.2.20.0100.04710.87
5.2.10.0030.05310.96
5.2.00.0200.03710.75
5.1.60.0130.03310.11
5.1.50.0170.0309.98
5.1.40.0200.0409.96
5.1.30.0130.05010.30
5.1.20.0100.05310.38
5.1.10.0070.05010.05
5.1.00.0100.05010.08
5.0.50.0170.0308.55
5.0.40.0070.0408.47
5.0.30.0100.0538.23
5.0.20.0130.0308.22
5.0.10.0070.0408.20
5.0.00.0130.0478.33
4.4.90.0100.0275.92
4.4.80.0030.0305.81
4.4.70.0030.0335.86
4.4.60.0100.0175.86
4.4.50.0030.0235.82
4.4.40.0070.0335.82
4.4.30.0100.0175.90
4.4.20.0070.0205.94
4.4.10.0100.0175.95
4.4.00.0070.0335.91
4.3.110.0070.0205.80
4.3.100.0030.0235.83
4.3.90.0030.0235.93
4.3.80.0070.0335.78
4.3.70.0130.0135.86
4.3.60.0030.0235.81
4.3.50.0100.0235.77
4.3.40.0030.0335.75
4.3.30.0030.0304.64
4.3.20.0030.0234.61
4.3.10.0030.0234.52
4.3.00.0070.0239.46

preferences:
38.7 ms | 401 KiB | 5 Q