3v4l.org

run code in 300+ PHP versions simultaneously
<?php $myArr = "{success:{'id':'success=-message', 'class':'success-message', 'inner-html':'Congratulations! You have been succesfully logged in'}, logout: {'type'='button', 'value'='logout', 'class'='logout-button'}, sessionID: {'type'='hidden', 'name'='sessionID', 'value'=1}}"; //Now you output the json version echo json_decode( $myArr ,true);

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.40.0100.00718.68
8.3.30.0100.00318.95
8.3.20.0040.00420.34
8.3.10.0040.00423.61
8.3.00.0070.00419.13
8.2.170.0070.00722.96
8.2.160.0110.00419.04
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0040.00422.19
8.2.110.0060.00322.25
8.2.100.0080.00417.63
8.2.90.0020.00518.98
8.2.80.0050.00317.97
8.2.70.0040.00417.60
8.2.60.0000.00717.80
8.2.50.0040.00418.07
8.2.40.0040.00419.96
8.2.30.0090.00017.93
8.2.20.0070.00017.60
8.2.10.0040.00417.95
8.2.00.0000.00817.57
8.1.270.0000.00822.09
8.1.260.0050.00226.35
8.1.250.0040.00428.09
8.1.240.0140.00724.01
8.1.230.0000.01019.17
8.1.220.0050.00317.74
8.1.210.0000.00718.77
8.1.200.0000.00917.00
8.1.190.0050.00317.22
8.1.180.0080.00018.10
8.1.170.0000.00818.54
8.1.160.0000.00722.00
8.1.150.0040.00418.75
8.1.140.0040.00417.32
8.1.130.0000.00717.87
8.1.120.0040.00417.28
8.1.110.0040.00717.41
8.1.100.0070.00017.43
8.1.90.0050.00317.42
8.1.80.0040.00417.27
8.1.70.0000.00717.33
8.1.60.0030.00517.50
8.1.50.0040.00417.34
8.1.40.0030.00517.41
8.1.30.0080.00017.63
8.1.20.0040.00417.57
8.1.10.0000.00717.53
8.1.00.0040.00417.48
8.0.300.0000.00718.77
8.0.290.0000.00816.75
8.0.280.0040.00418.36
8.0.270.0030.00317.14
8.0.260.0000.00617.24
8.0.250.0000.00716.98
8.0.240.0030.00316.95
8.0.230.0030.00516.83
8.0.220.0070.00016.82
8.0.210.0000.00716.83
8.0.200.0000.00716.78
8.0.190.0040.00416.88
8.0.180.0000.00716.88
8.0.170.0020.00516.85
8.0.160.0030.00316.89
8.0.150.0030.00316.66
8.0.140.0000.00716.71
8.0.130.0000.00513.26
8.0.120.0000.00816.80
8.0.110.0020.00516.78
8.0.100.0000.00716.64
8.0.90.0000.00816.71
8.0.80.0110.00416.74
8.0.70.0070.00016.77
8.0.60.0000.00716.72
8.0.50.0050.00216.84
8.0.30.0140.00917.15
8.0.20.0100.01017.40
8.0.10.0050.00216.85
8.0.00.0090.00916.57
7.4.330.0000.00515.02
7.4.320.0000.00616.54
7.4.300.0000.00616.56
7.4.290.0070.00016.52
7.4.280.0000.00716.52
7.4.270.0070.00016.51
7.4.260.0030.00316.45
7.4.250.0040.00416.48
7.4.240.0050.00216.41
7.4.230.0030.00316.46
7.4.220.0140.00316.36
7.4.210.0110.00216.60
7.4.200.0030.00316.51
7.4.160.0060.01016.38
7.4.150.0110.01717.40
7.4.140.0130.00817.86
7.4.130.0090.00816.54
7.4.120.0090.01016.53
7.4.110.0070.01016.61
7.4.100.0030.01416.52
7.4.90.0110.00716.24
7.4.80.0130.00319.39
7.4.70.0100.00616.32
7.4.60.0060.00916.45
7.4.50.0030.00516.16
7.4.40.0070.01016.41
7.4.30.0140.00716.54
7.4.10.0100.01014.74
7.4.00.0030.01114.69
7.3.330.0000.00712.96
7.3.320.0030.00312.97
7.3.310.0030.00315.96
7.3.300.0050.00216.20
7.3.290.0090.00716.09
7.3.280.0100.00816.10
7.3.270.0200.00317.40
7.3.260.0140.01016.34
7.3.250.0100.00816.27
7.3.240.0100.00716.37
7.3.230.0100.00716.39
7.3.210.0120.00316.22
7.3.200.0180.00319.39
7.3.190.0030.01316.51
7.3.180.0110.00516.20
7.3.170.0060.00916.27
7.3.160.0060.00916.18
7.3.130.0030.01514.39
7.3.120.0120.00714.44
7.3.110.0070.00814.70
7.3.100.0090.00914.70
7.3.90.0090.00614.54
7.3.80.0060.00914.54
7.3.70.0060.00714.54
7.3.60.0040.01014.71
7.3.50.0040.00714.78
7.3.40.0020.00914.65
7.3.30.0090.00614.74
7.3.20.0030.01116.60
7.3.10.0060.00916.66
7.3.00.0070.00616.59
7.2.330.0120.00616.46
7.2.320.0120.00616.55
7.2.310.0070.01416.40
7.2.300.0120.00916.23
7.2.290.0090.00916.62
7.2.260.0060.00914.74
7.2.250.0080.01014.89
7.2.240.0030.01114.82
7.2.230.0060.01114.76
7.2.220.0060.00914.91
7.2.210.0070.00714.93
7.2.200.0030.01014.81
7.2.190.0080.00514.80
7.2.180.0020.01014.79
7.2.170.0090.00614.79
7.2.160.0050.00914.64
7.2.150.0070.00416.79
7.2.140.0090.00616.79
7.2.130.0000.00916.63
7.2.120.0000.01116.59
7.2.110.0030.00716.78
7.2.100.0070.01116.61
7.2.90.0000.01616.79
7.2.80.0110.00316.61
7.2.70.0120.00616.90
7.2.60.0070.00916.73
7.2.50.0070.01016.86
7.2.40.0070.00416.88
7.2.30.0070.01016.78
7.2.20.0030.01216.91
7.2.10.0030.01016.80
7.2.00.0040.00817.91
7.1.330.0080.00715.61
7.1.320.0050.00915.75
7.1.310.0050.00715.74
7.1.300.0100.00215.69
7.1.290.0040.01015.66
7.1.280.0020.01115.41
7.1.270.0020.01015.61
7.1.260.0080.00615.65
7.1.250.0120.00315.73
7.1.240.0040.00715.92
7.1.230.0070.00715.48
7.1.220.0120.00315.49
7.1.210.0090.00015.83
7.1.200.0050.00715.78
7.1.190.0100.00715.46
7.1.180.0030.01315.67
7.1.170.0070.01015.59
7.1.160.0100.00315.75
7.1.150.0030.01215.79
7.1.140.0040.00415.57
7.1.130.0060.00915.77
7.1.120.0030.00615.69
7.1.110.0090.00615.73
7.1.100.0050.00816.83
7.1.90.0070.00715.84
7.1.80.0100.00315.61
7.1.70.0020.00916.41
7.1.60.0050.01017.28
7.1.50.0090.01016.20
7.1.40.0050.00315.77
7.1.30.0030.01315.75
7.1.20.0060.00915.77
7.1.10.0070.00415.66
7.1.00.0100.03718.94
7.0.330.0100.00015.27
7.0.320.0090.00915.27
7.0.310.0050.00815.42
7.0.300.0000.01415.39
7.0.290.0060.01015.43
7.0.280.0070.00715.28
7.0.270.0030.00915.46
7.0.260.0070.00715.52
7.0.250.0030.01315.27
7.0.240.0090.00015.40
7.0.230.0130.00315.55
7.0.220.0030.00615.49
7.0.210.0110.00415.47
7.0.200.0040.00815.97
7.0.190.0000.00815.50
7.0.180.0000.01215.37
7.0.170.0120.00315.38
7.0.160.0000.01415.13
7.0.150.0100.00015.40
7.0.140.0070.03318.53
7.0.130.0000.01215.60
7.0.120.0040.00715.26
7.0.110.0120.00015.41
7.0.100.0030.00615.24
7.0.90.0060.00315.18
7.0.80.0040.00715.43
7.0.70.0060.00615.32
7.0.60.0030.02317.56
7.0.50.0050.02416.54
7.0.40.0070.04016.81
7.0.30.0170.03216.89
7.0.20.0150.04016.69
7.0.10.0070.04016.77
7.0.00.0080.03116.62
5.6.400.0000.01414.27
5.6.390.0070.00314.34
5.6.380.0090.00914.19
5.6.370.0090.00913.96
5.6.360.0030.00713.85
5.6.350.0030.01014.60
5.6.340.0000.01514.15
5.6.330.0060.00914.49
5.6.320.0030.00714.27
5.6.310.0030.01014.32
5.6.300.0040.00813.96
5.6.290.0070.00713.86
5.6.280.0050.03817.55
5.6.270.0060.00614.23
5.6.260.0040.00714.32
5.6.250.0040.01114.16
5.6.240.0090.00414.18
5.6.230.0060.01214.07
5.6.220.0060.00314.29
5.6.210.0060.02317.23
5.6.200.0030.05016.21
5.6.190.0050.03317.36
5.6.180.1640.02517.48
5.6.170.0180.02017.22
5.6.160.0080.04517.28
5.6.150.0050.02716.35
5.6.140.0070.04216.30
5.6.130.0040.02916.11
5.6.120.0050.03717.59
5.6.110.0080.04217.52
5.6.100.0120.04117.53
5.6.90.0090.02017.67
5.6.80.0020.02617.23
5.6.70.2200.02717.16
5.6.60.0030.00714.10
5.6.50.0040.01214.44
5.6.40.0000.01314.30
5.6.30.0000.01814.34
5.6.20.0000.01413.83
5.6.10.0090.00314.11
5.6.00.0040.01114.38
5.5.380.0070.00714.03
5.5.370.0080.00314.14
5.5.360.0080.00614.16
5.5.350.0080.04017.24
5.5.340.0130.03516.12
5.5.330.0080.04017.22
5.5.320.0130.04217.22
5.5.310.0190.02917.17
5.5.300.0040.02516.19
5.5.290.0050.04515.86
5.5.280.0100.04317.53
5.5.270.0050.04517.53
5.5.260.0030.04417.34
5.5.250.0060.04617.14
5.5.240.0220.03317.15
5.5.230.0000.01314.02
5.5.220.0110.00414.12
5.5.210.0040.00714.12
5.5.200.0000.01914.10
5.5.190.0000.00914.20
5.5.180.0030.01313.81
5.5.170.0080.00514.05
5.5.160.0030.01014.02
5.5.150.0030.01314.14
5.5.140.0070.01013.88
5.5.130.0070.00714.01
5.5.120.0060.00913.69
5.5.110.0100.00314.21
5.5.100.0070.00714.16
5.5.90.0070.00714.15
5.5.80.0080.00413.71
5.5.70.0060.00613.89
5.5.60.0030.00713.73
5.5.50.0060.00613.92
5.5.40.0030.01014.00
5.5.30.0040.00414.13
5.5.20.0030.00714.18
5.5.10.0000.00814.08
5.5.00.0030.00713.92
5.4.450.0370.04215.12
5.4.440.0150.03315.20
5.4.430.0070.03014.98
5.4.420.0390.00215.02
5.4.410.0380.00414.92
5.4.400.0330.00114.90
5.4.390.0330.00214.84
5.4.380.0370.00314.97
5.4.370.0340.00215.05
5.4.360.0320.00315.01
5.4.350.0360.00215.01
5.4.340.0050.01911.55
5.4.330.0100.00010.62
5.4.320.0040.02211.49
5.4.310.0060.02011.68
5.4.300.0020.02411.54
5.4.290.0040.02311.64
5.4.280.0060.02211.51
5.4.270.0080.02211.52
5.4.260.0040.02711.63
5.4.250.0080.02311.47
5.4.240.0070.01811.47
5.4.230.0070.02111.64
5.4.220.0040.02511.71
5.4.210.0040.02111.62
5.4.200.0030.02211.67
5.4.190.0070.01911.61
5.4.180.0020.02411.59
5.4.170.0040.02311.46
5.4.160.0050.01911.48
5.4.150.0060.02011.60
5.4.140.0070.02011.47
5.4.130.0050.02311.29
5.4.120.0060.02011.39
5.4.110.0060.02011.44
5.4.100.0070.01811.32
5.4.90.0040.02011.46
5.4.80.0060.01911.41
5.4.70.0080.01711.45
5.4.60.0020.02311.38
5.4.50.0070.01911.40
5.4.40.0100.01711.43
5.4.30.0050.01911.35
5.4.20.0050.02111.29
5.4.10.0090.01511.28
5.4.00.0030.02311.18
5.3.290.0060.03912.80
5.3.280.0070.03712.71
5.3.270.0070.03812.72
5.3.260.0060.03912.71
5.3.250.0090.03612.72
5.3.240.0030.04312.72
5.3.230.0030.04012.70
5.3.220.0070.03912.68
5.3.210.0040.04412.68
5.3.200.0060.03612.68
5.3.190.0060.03812.68
5.3.180.0060.03612.67
5.3.170.0060.03612.67
5.3.160.0050.03812.67
5.3.150.0110.04112.68
5.3.140.0060.04312.66
5.3.130.0060.03812.65
5.3.120.0060.03912.66
5.3.110.0050.04212.66
5.3.100.0060.03812.12
5.3.90.0050.03812.09
5.3.80.0070.03712.08
5.3.70.0050.03812.07
5.3.60.0050.04612.06
5.3.50.0070.03912.00
5.3.40.0060.03612.00
5.3.30.0080.03711.95
5.3.20.0040.03611.72
5.3.10.0030.04711.69
5.3.00.0050.03711.68
5.2.170.0050.0319.18
5.2.160.0070.0329.18
5.2.150.0040.0319.18
5.2.140.0050.0319.17
5.2.130.0030.0329.14
5.2.120.0010.0329.13
5.2.110.0040.0339.14
5.2.100.0040.0359.13
5.2.90.0070.0279.14
5.2.80.0060.0339.13
5.2.70.0060.0289.13
5.2.60.0030.0319.09
5.2.50.0050.0299.06
5.2.40.0060.0359.04
5.2.30.0040.0349.01
5.2.20.0040.0298.99
5.2.10.0030.0298.91
5.2.00.0030.0308.78
5.1.60.0060.0308.06
5.1.50.0040.0248.06
5.1.40.0030.0258.04
5.1.30.0050.0258.39
5.1.20.0050.0268.41
5.1.10.0070.0228.14
5.1.00.0040.0258.14
5.0.50.0010.0236.61
5.0.40.0030.0266.48
5.0.30.0030.0316.29
5.0.20.0040.0266.26
5.0.10.0050.0276.24
5.0.00.0040.0406.23
4.4.90.0030.0154.77
4.4.80.0010.0174.75
4.4.70.0010.0174.76
4.4.60.0010.0174.76
4.4.50.0070.0234.77
4.4.40.0030.0244.71
4.4.30.0030.0154.76
4.4.20.0030.0144.84
4.4.10.0010.0174.85
4.4.00.0020.0284.76
4.3.110.0030.0224.67
4.3.100.0010.0174.66
4.3.90.0070.0184.63
4.3.80.0040.0294.59
4.3.70.0030.0164.63
4.3.60.0010.0174.62
4.3.50.0020.0164.63
4.3.40.0030.0244.54
4.3.30.0040.0143.28
4.3.20.0020.0163.26
4.3.10.0060.0153.22
4.3.00.0170.0206.74

preferences:
47.08 ms | 400 KiB | 5 Q