3v4l.org

run code in 300+ PHP versions simultaneously
<?php $row = '{ persona_apellido: "hey", persona_apellido-maxwidth: 48, persona_curso: "info", persona_curso-maxwidth: 32, persona_email: "dude@dude.com", persona_email-maxwidth: 128, persona_freg: "2013-08-15 17:03:58", persona_freg-maxwidth: 152, persona_id: "3", persona_id-maxwidth: 8, persona_nombre: "dude", persona_nombre-maxwidth: 64, up_persona_apellido: "", up_persona_curso: "", up_persona_email: "", up_persona_freg: "", up_persona_id: "", up_persona_nombre: ""}'; $row = json_decode($row, true); $queryIn = '';$ladoA = 0;$ladoB = 0; /*foreach($row as $k => $value){ if(strstr($k,'-maxwidth') === false && strstr($k,'itemSelected') === false){ if(!empty($value) && strstr($k,'up_') !== false){ $queryIn =+ ' '.substr($k, 3).'='.$value; $ladoA++; }else{ $queryIn =+ ' '.$k.'='.$value; $ladoB++; } } }*/ echo $row;

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.0110.00716.75
8.3.50.0080.01021.94
8.3.40.0040.01118.54
8.3.30.0100.00718.79
8.3.20.0070.00020.18
8.3.10.0040.00423.61
8.3.00.0040.00420.71
8.2.180.0090.00618.09
8.2.170.0120.00322.96
8.2.160.0070.00720.30
8.2.150.0070.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0080.00020.72
8.2.110.0100.00022.32
8.2.100.0090.00317.91
8.2.90.0040.00419.16
8.2.80.0040.00417.97
8.2.70.0080.00517.13
8.2.60.0000.00917.93
8.2.50.0040.00818.07
8.2.40.0060.00320.07
8.2.30.0000.00718.24
8.2.20.0050.00317.59
8.2.10.0050.00217.98
8.2.00.0040.00417.61
8.1.280.0060.01225.92
8.1.270.0090.00023.71
8.1.260.0080.00026.35
8.1.250.0050.00228.09
8.1.240.0090.00023.82
8.1.230.0070.00319.22
8.1.220.0040.00417.74
8.1.210.0000.00918.77
8.1.200.0040.00817.10
8.1.190.0060.00617.10
8.1.180.0040.00418.88
8.1.170.0000.00818.52
8.1.160.0040.00421.84
8.1.150.0000.00818.48
8.1.140.0000.00717.33
8.1.130.0030.00317.80
8.1.120.0000.00717.30
8.1.110.0000.00717.39
8.1.100.0000.00717.31
8.1.90.0000.00717.37
8.1.80.0030.00517.21
8.1.70.0030.00317.38
8.1.60.0030.00617.51
8.1.50.0030.00517.43
8.1.40.0070.00017.45
8.1.30.0080.00017.57
8.1.20.0080.00017.54
8.1.10.0040.00417.53
8.1.00.0040.00417.45
8.0.300.0000.00718.77
8.0.290.0000.00817.28
8.0.280.0030.00318.42
8.0.270.0030.00317.25
8.0.260.0000.00617.24
8.0.250.0000.00716.91
8.0.240.0030.00316.89
8.0.230.0050.00216.89
8.0.220.0040.00416.82
8.0.210.0050.00316.80
8.0.200.0000.00716.83
8.0.190.0040.00416.91
8.0.180.0020.00516.72
8.0.170.0000.00716.81
8.0.160.0000.00816.79
8.0.150.0030.00416.65
8.0.140.0040.00816.83
8.0.130.0030.00313.22
8.0.120.0050.00316.84
8.0.110.0000.00716.73
8.0.100.0040.00416.66
8.0.90.0000.00716.62
8.0.80.0070.01416.75
8.0.70.0000.00716.74
8.0.60.0000.00716.86
8.0.50.0040.00416.83
8.0.30.0090.00916.97
8.0.20.0080.01117.40
8.0.10.0040.00417.00
8.0.00.0070.01116.77
7.4.330.0060.00015.00
7.4.320.0000.00616.44
7.4.300.0000.00616.34
7.4.290.0070.00016.57
7.4.280.0040.00416.33
7.4.270.0070.00016.43
7.4.260.0030.00316.50
7.4.250.0030.00516.29
7.4.240.0050.00216.43
7.4.230.0070.00016.47
7.4.220.0170.00016.62
7.4.210.0060.00916.53
7.4.200.0030.00316.62
7.4.190.0030.00516.33
7.4.160.0120.00416.69
7.4.150.0060.01217.40
7.4.140.0140.00717.86
7.4.130.0130.00616.37
7.4.120.0130.00316.47
7.4.110.0130.00316.42
7.4.100.0130.01016.37
7.4.90.0130.00516.47
7.4.80.0070.01019.39
7.4.70.0090.00716.48
7.4.60.0150.00616.46
7.4.50.0000.00616.36
7.4.40.0100.00716.38
7.4.30.0100.00616.31
7.4.00.0000.00814.78
7.3.330.0020.00212.99
7.3.320.0030.00313.04
7.3.310.0030.00316.26
7.3.300.0000.00716.05
7.3.290.0040.01116.17
7.3.280.0110.00716.17
7.3.270.0140.00317.40
7.3.260.0140.00416.28
7.3.250.0080.01116.47
7.3.240.0140.00716.42
7.3.230.0110.00416.50
7.3.210.0030.01616.24
7.3.200.0070.01519.39
7.3.190.0130.01016.45
7.3.180.0090.00616.37
7.3.170.0030.01216.27
7.3.160.0150.00016.18
7.3.120.0110.00414.69
7.3.10.0190.00416.83
7.3.00.0150.00616.51
7.2.330.0130.00416.71
7.2.320.0060.01216.32
7.2.310.0060.01616.66
7.2.300.0130.01016.75
7.2.290.0120.00916.38
7.2.130.0210.00716.49
7.2.120.0160.01416.65
7.2.110.0190.00816.35
7.2.100.0160.01016.61
7.2.90.0290.00716.52
7.2.80.0260.01616.48
7.2.70.0210.00716.80
7.2.60.0270.00416.62
7.2.50.0270.00816.56
7.2.40.0320.00716.48
7.2.30.0420.00716.58
7.2.20.0140.01016.31
7.2.10.0090.00915.96
7.2.00.0090.00917.98
7.1.250.0260.01015.63
7.1.100.0100.00717.73
7.1.70.0000.00717.03
7.1.60.0070.01819.46
7.1.50.0110.00616.87
7.1.00.0070.07322.33
7.0.200.0110.00016.82
7.0.140.0030.07022.11
7.0.60.0100.07020.07
7.0.50.0070.07717.91
7.0.40.0100.08720.12
7.0.30.0230.08320.18
7.0.20.0270.03020.13
7.0.10.0200.07020.19
7.0.00.0130.06320.24
5.6.280.0000.07721.09
5.6.210.0100.04720.50
5.6.200.0000.04318.17
5.6.190.0100.08720.67
5.6.180.0070.07320.45
5.6.170.0330.07320.56
5.6.160.0070.04320.48
5.6.150.0030.05018.16
5.6.140.0100.08018.14
5.6.130.0070.08018.09
5.6.120.0200.03321.02
5.6.110.0070.05720.97
5.6.100.0000.04721.02
5.6.90.0070.07020.95
5.6.80.0030.08320.46
5.5.350.0070.07720.40
5.5.340.0070.07017.99
5.5.330.0030.05320.13
5.5.320.0430.05320.29
5.5.310.0300.07320.29
5.5.300.0100.07718.03
5.5.290.0070.06717.88
5.5.280.0070.04020.67
5.5.270.0170.07720.79
5.5.260.0030.04020.76
5.5.250.0100.08020.67
5.5.240.0000.08320.14
5.4.450.0500.05719.25
5.4.440.0770.06719.49
5.4.430.0630.06319.41
5.4.420.0830.05719.63
5.4.410.0870.07319.14
5.4.400.0830.06019.15
5.4.390.1130.07019.19
5.4.380.0200.04718.61
5.4.370.0130.05318.63
5.4.360.0170.04718.48
5.4.350.0200.04718.44
5.4.340.0070.06018.57
5.4.320.0080.03612.45
5.4.310.0040.03912.45
5.4.300.0040.05212.46
5.4.290.0080.03612.45
5.4.280.0050.03612.35
5.4.270.0050.03812.35
5.4.260.0060.03712.35
5.4.250.0020.04112.35
5.4.240.0050.03712.35
5.4.230.0080.03612.34
5.4.220.0110.03612.34
5.4.210.0050.04412.34
5.4.200.0040.05212.34
5.4.190.0050.03812.34
5.4.180.0040.03912.34
5.4.170.0050.03812.35
5.4.160.0090.04012.34
5.4.150.0060.03612.34
5.4.140.0060.04412.03
5.4.130.0030.04312.01
5.4.120.0050.03711.97
5.4.110.0070.03811.97
5.4.100.0090.03511.97
5.4.90.0120.05011.96
5.4.80.0140.04311.96
5.4.70.0070.05511.96
5.4.60.0080.04811.97
5.4.50.0090.03511.97
5.4.40.0130.03011.95
5.4.30.0060.03811.95
5.4.20.0080.03511.95
5.4.10.0030.03911.95
5.4.00.0070.03711.44
5.3.290.0080.03812.80
5.3.280.0100.03512.71
5.3.270.0130.03412.72
5.3.260.0070.04212.72
5.3.250.0120.04412.72
5.3.240.0070.04112.72
5.3.230.0070.04012.71
5.3.220.0120.03412.68
5.3.210.0080.03912.68
5.3.200.0080.03712.68
5.3.190.0070.03812.68
5.3.180.0090.03912.68
5.3.170.0090.05312.67
5.3.160.0070.04112.67
5.3.150.0090.05312.68
5.3.140.0090.05212.66
5.3.130.0100.05412.66
5.3.120.0100.05412.66
5.3.110.0130.05112.66
5.3.100.0090.04012.12
5.3.90.0070.03512.08
5.3.80.0130.04212.08
5.3.70.0100.04212.07
5.3.60.0030.04512.06
5.3.50.0060.03912.00
5.3.40.0060.03712.00
5.3.30.0060.04611.95
5.3.20.0050.03611.73
5.3.10.0090.03511.69
5.3.00.0030.04011.68
5.2.170.0040.0319.18
5.2.160.0100.0269.18
5.2.150.0030.0329.18
5.2.140.0050.0319.17
5.2.130.0050.0299.13
5.2.120.0040.0309.14
5.2.110.0050.0339.14
5.2.100.0070.0449.14
5.2.90.0050.0439.14
5.2.80.0020.0409.14
5.2.70.0010.0339.14
5.2.60.0040.0349.09
5.2.50.0020.0329.06
5.2.40.0040.0309.04
5.2.30.0060.0289.01
5.2.20.0040.0319.00
5.2.10.0070.0288.92
5.2.00.0050.0298.78
5.1.60.0040.0258.07
5.1.50.0110.0288.06
5.1.40.0070.0358.04
5.1.30.0050.0348.39
5.1.20.0050.0338.41
5.1.10.0120.0398.14
5.1.00.0070.0338.14
5.0.50.0030.0256.62
5.0.40.0070.0266.48
5.0.30.0040.0406.29
5.0.20.0030.0206.27
5.0.10.0030.0206.25
5.0.00.0050.0306.23
4.4.90.0020.0244.78
4.4.80.0030.0154.76
4.4.70.0030.0154.76
4.4.60.0030.0154.75
4.4.50.0030.0144.77
4.4.40.0030.0244.70
4.4.30.0040.0144.75
4.4.20.0010.0174.84
4.4.10.0030.0154.85
4.4.00.0030.0244.76
4.3.110.0020.0164.66
4.3.100.0030.0144.66
4.3.90.0030.0144.63
4.3.80.0020.0254.58
4.3.70.0020.0164.63
4.3.60.0040.0134.63
4.3.50.0000.0184.63
4.3.40.0040.0244.54
4.3.30.0030.0163.29
4.3.20.0030.0153.26
4.3.10.0020.0153.22
4.3.00.0170.0236.80

preferences:
41.92 ms | 401 KiB | 5 Q